MapKit, Core Location, geocoding, and WeatherKit
Location is context, not identity. Field Notes can attach an optional observation coordinate and weather snapshot while remaining fully useful when access is denied or unavailable.
Design the capability
- Request when-in-use access only after Add Location. Ask for precision and background access only when a named feature truly needs them.
- Map framework authorization and accuracy into product states and accept a manually chosen place as fallback.
- Treat geocoding, routing, and weather as cancellable network-backed adapters with rate, cache, attribution, and stale-data policy.
- Store a snapshot and its observation time rather than presenting later weather as if it described the original note.
Validation boundary
No location permission, route, geocoder, WeatherKit service, entitlement, account, Simulator route, or physical-device accuracy was exercised.
Series navigation
- Previous: Part 99: CloudKit, iCloud containers, sharing, and sync
- Next: Part 101: Camera, PhotoKit, image pipelines, and Vision
- Series index: Zero to iOS Hero