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