Instance Method

initWithAccessToEntityTypes:

Initializes access to the event store with support for the given entity type.

Declaration

- (id)initWithAccessToEntityTypes:(EKEntityMask)entityTypes;

Parameters

entityTypes

The event or reminder entity mask.

Return Value

The event store.

See Also

Accessing the Event Store

EKAuthorizationStatus

The current authorization status for a specific entity type.

EKEventStoreRequestAccessCompletionHandler

The signature for a block object used for operating on events with the requestAccessToEntityType:completion: method.

EKEventSearchCallback

The signature for a block object used for operating on events with the enumerateEventsMatchingPredicate:usingBlock: method.

- requestAccessToEntityType:completion:

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

+ authorizationStatusForEntityType:

Returns the authorization status for the given entity type.

eventStoreIdentifier

The unique identifier for the event store.