authorizationStatus(for:)
Determines the authorization status for the given entity type.
Declaration
class func authorizationStatus(for entityType: EKEntityType) -> EKAuthorizationStatusParameters
- entityType:
The event or reminder entity type.
Return Value
The app’s authorization status of the given type.
See Also
Requesting access to events and reminders
requestWriteOnlyAccessToEvents(completion:)requestFullAccessToEvents(completion:)requestFullAccessToReminders(completion:)EKAuthorizationStatusEKEventStoreRequestAccessCompletionHandlerNSCalendarsFullAccessUsageDescriptionNSCalendarsWriteOnlyAccessUsageDescriptionNSRemindersFullAccessUsageDescription