Class

EKCalendarChooser

A view controller for determining whether a user may select one or more calendars.

Declaration

@interface EKCalendarChooser : UIViewController

Overview

Use the calendar chooser view controller to allow users to select one or more calendars when creating or editing a calendar event. The calendar chooser also lets you specify whether to display all calendars, or only those that may be written to. The view controller can be pushed on a navigation stack or presented modally.

Use a delegate that conforms to EKCalendarChooserDelegate to receive callbacks when the user selects calendars or cancels an operation.

Topics

Initializing Calendar Choosers

- initWithSelectionStyle:displayStyle:eventStore:

Initializes a newly created calendar chooser.

- initWithSelectionStyle:displayStyle:entityType:eventStore:

Initializes a newly created calendar chooser for a specific entity type.

Managing Calendar Selection

delegate

The calendar chooser’s delegate.

EKCalendarChooserDelegate

Methods a calendar chooser's delegate may use to receive notifications.

Selecting a Calendar Type

selectedCalendars

The calendars selected by the user.

selectionStyle

Determines whether to allow selection of multiple calendars.

EKCalendarChooserSelectionStyle

Indicates whether users may select a single calendar, or multiple calendars.

EKCalendarChooserDisplayStyle

Indicates whether to display all calendars or writable calendars only.

Changing the Appearance

showsCancelButton

A Boolean that determines whether to display a Cancel button.

showsDoneButton

A Boolean that determines whether to display a Done button.

Relationships

Inherits From