Contents

EKEventStoreRequestAccessCompletionHandler

The signature for a closure that EventKit calls when requesting access to event and reminder data.

Declaration

typealias EKEventStoreRequestAccessCompletionHandler = (Bool, (any Error)?) -> Void

Parameters

  • granted:

    True if the user allows the app to access data in the event store; otherwise, False.

  • error:

    The error that occurred, if any; otherwise, nil.

See Also

Requesting access to events and reminders