SwiftUI Location Permissions View
A SwiftUI View for introducing and initiating a system request for location access from the user.


Usage
(
LocationPermissionsView: .init(
interactor: {},
didSelectEnable: {}
didSelectSkip)
)
Features
- Supports light and dark device color schemes by default.
- Supports font scaling via Dynamic Type.
- Supports offline usage in SwiftUI Previews for easy debugging and testing.
Notes
- Use
LocationController
to request system location access authorization, or respond to gps location updates viaCLLocationManagerDelegate
.