SwiftUI Contact Permissions View
A SwiftUI View for introducing and initiating a system request for address book access from the user.
Usage
(
ContactPermissionsView: .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
ContactController
to trigger system contact access authorization, or query a user’s contact list fromCNContactStore
.