Contents

delegateSources

The event sources delegated to the person using your app.

Declaration

var delegateSources: [EKSource] { get }

Discussion

By default, delegate event sources aren’t included in an event store’s sources. To access events and reminders in a delegate source:

  1. Use init() to initialize an EKEventStore.

  2. Use requestAccess(to:completion:) to request access to the desired entity types.

  3. Get the delegate sources from the event store using delegateSources.

  4. After the request is granted, initialize another EKEventStore using init(sources:), passing the delegate stores.

See Also

Accessing account sources