_MapKit_SwiftUI · IOS API REFERENCE
LookAroundPreview
struct · iOS 17.0+ · SDK 27.1
@MainActor @preconcurrency struct LookAroundPreview
Members (2)
init · iOS 17.0+init
TypeScriptstatic initInitialSceneAllowsNavigationShowsRoadLabelsPointsOfInterestBadgePosition(initialScene?: (_MapKit_MKLookAroundScene) | null, allowsNavigation?: boolean, showsRoadLabels?: boolean, pointsOfInterest?: PointOfInterestCategories, badgePosition?: _MapKit_MKLookAroundBadgePosition): Promise<LookAroundPreview>
Swift declaration@MainActor @preconcurrency init(initialScene: MKLookAroundScene?, allowsNavigation: Bool = true, showsRoadLabels: Bool = true, pointsOfInterest: PointOfInterestCategories = .all, badgePosition: MKLookAroundBadgePosition = .topLeading)
init · iOS 17.0+init
TypeScriptstatic initSceneAllowsNavigationShowsRoadLabelsPointsOfInterestBadgePosition(scene: _SwiftUICore_Binding<(_MapKit_MKLookAroundScene) | null>, allowsNavigation?: boolean, showsRoadLabels?: boolean, pointsOfInterest?: PointOfInterestCategories, badgePosition?: _MapKit_MKLookAroundBadgePosition): Promise<LookAroundPreview>
Swift declaration@MainActor @preconcurrency init(scene: Binding<MKLookAroundScene?>, allowsNavigation: Bool = true, showsRoadLabels: Bool = true, pointsOfInterest: PointOfInterestCategories = .all, badgePosition: MKLookAroundBadgePosition = .topLeading)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
LookAroundPreview.body
This protocol needs associated types that cannot yet cross the bridge.
All _MapKit_SwiftUI types →