iOS Developer Library

Developer

EventKitUI Framework Reference EKCalendarChooserDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

EKCalendarChooserDelegate

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.

Inheritance


Not Applicable

Import Statement


import EventKitUI @import EventKitUI;

Availability


Available in iOS 5.0 and later.
  • Sent when a user has finished selecting one or more calendars. (required)

    Declaration

    Swift

    optional func calendarChooserDidFinish(_ calendarChooser: EKCalendarChooser!)

    Objective-C

    - (void)calendarChooserDidFinish:(EKCalendarChooser *)calendarChooser

    Parameters

    calendarChooser

    The calendar chooser that sent this message.

    Import Statement

    import EventKitUI

    Availability

    Available in iOS 5.0 and later.

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

    Declaration

    Swift

    optional func calendarChooserDidCancel(_ calendarChooser: EKCalendarChooser!)

    Objective-C

    - (void)calendarChooserDidCancel:(EKCalendarChooser *)calendarChooser

    Parameters

    calendarChooser

    The calendar chooser that sent this message.

    Import Statement

    import EventKitUI

    Availability

    Available in iOS 5.0 and later.