_MapKit_SwiftUI · IOS API REFERENCE
UserAnnotation
struct · iOS 17.0+ · SDK 27.1
@MainActor @preconcurrency struct UserAnnotation<Content> where Content : ViewDisplays the current location of the user on the map. Successful usage of `UserAnnotation` requires obtaining a suitable level of location access authorization first. Refer to Core Location documentation for more information on how to accomplish this.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UserAnnotation.init(anchor:content:)
callback cannot propagate synchronous failure
UserAnnotation.init(anchor:content:)
callback cannot propagate synchronous failure