mapkit
Installation
SKILL.md
MapKit & CoreLocation (iOS)
SwiftUI-first mapping, user location, geofencing, search, routing, and geocoding.
Grounded in Apple's MapKit and CoreLocation frameworks. SwiftUI Map content
builder, MapCameraPosition, MapReader, and Look Around are iOS 17+; the async
CLLocationUpdate / CLMonitor APIs are iOS 17+ (with iOS 18 service-session
changes); MKGeocodingRequest and cycling directions are iOS 26.
- KMP boundary: map UI is native iOS — put the
Mapinside a SwiftUI screen, not shared Compose. Expose only data (coordinates, a location stream) fromcommonMainvia aninterface, bound to a CoreLocationactualiniosMain; seeexpect-actualandkmp-ios-integration. - Privacy first (fintech): location is sensitive. Request the narrowest authorization that works (
WhenInUseoverAlways), support reduced accuracy, and never log or transmit coordinates without a clear user-facing reason. Purpose strings and privacy-manifest details:app-store-review.