SwiftUI Calendar Permissions View
A SwiftUI View for introducing and initiating a system request for calendar access from the user.
Usage
(
CalendarPermissionsView: .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
CalendarController
to request system access authorization for read and write access to calendar events + reminders. Uses theEventKit
framework.