Enumeration

EKAuthorizationStatus

The current authorization status for a specific entity type.

Declaration

enum EKAuthorizationStatus : Int

Topics

Status

case authorized

The app is authorized to access the service.

case denied

The user explicitly denied access to the service for the app.

case notDetermined

The user has not yet made a choice regarding whether the app may access the service.

case restricted

The app is not authorized to access the service.

See Also

Accessing the Event Store

typealias EKEventStoreRequestAccessCompletionHandler

The signature for a block object used for operating on events with the requestAccess(to:completion:) method.

typealias EKEventSearchCallback

The signature for a block object used for operating on events with the enumerateEvents(matching:using:) method.

func requestAccess(to: EKEntityType, completion: EKEventStoreRequestAccessCompletionHandler)

Prompts the user to grant or deny access to event or reminder data.

class func authorizationStatus(for: EKEntityType) -> EKAuthorizationStatus

Returns the authorization status for the given entity type.

var eventStoreIdentifier: String

The unique identifier for the event store.