EKCalendarChooserDelegate Protocol Reference

Conforms to
Framework
/System/Library/Frameworks/EventKitUI.framework
Availability
Available in iOS 5.0 and later.
Declared in
EKCalendarChooser.h

Overview

The EKCalendarChooserDelegate protocol defines methods that a calendar chooser’s delegate may optionally implement to be notified when a user finishes selecting calendars or cancels the process.

Tasks

Selecting Calendars

Finishing and Canceling Calendar Selection

Instance Methods

calendarChooserDidCancel:

Sent when the user cancels the selection of calendars. (required)

- (void)calendarChooserDidCancel:(EKCalendarChooser *)calendarChooser
Parameters
calendarChooser

The calendar chooser that sent this message.

Availability
  • Available in iOS 5.0 and later.
Declared In
EKCalendarChooser.h

calendarChooserDidFinish:

Sent when a user has finished selecting one or more calendars. (required)

- (void)calendarChooserDidFinish:(EKCalendarChooser *)calendarChooser
Parameters
calendarChooser

The calendar chooser that sent this message.

Availability
  • Available in iOS 5.0 and later.
Declared In
EKCalendarChooser.h

calendarChooserSelectionDidChange:

Sent when a user has changed the selection. (required)

- (void)calendarChooserSelectionDidChange:(EKCalendarChooser *)calendarChooser
Parameters
calendarChooser

The calendar chooser that sent this message.

Discussion

Use the selectedCalendars property to get the current selection.

Availability
  • Available in iOS 5.0 and later.
Declared In
EKCalendarChooser.h