iOS Developer Library

Developer

EventKit UI Framework Reference EKEventViewDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

EKEventViewDelegate

Delegates of an EKEventViewController object conform to this protocol. An event view controller’s delegate is notified when the event view controller should be closed. It is your responsibility to close the event view controller and perform any additional desired tasks within this protocol’s method.

  • Describes the action that was taken to indicate that the event view controller should be closed.

    Declaration

    Swift

    enum EKEventViewAction : Int { case Done case Responded case Deleted }

    Objective-C

    typedef enum { EKEventViewActionDone, EKEventViewActionResponded, EKEventViewActionDeleted } EKEventViewAction;

    Constants

    • done

      EKEventViewActionDone

      The user tapped the Done button.

      Available in iOS 4.2 and later.

    • responded

      EKEventViewActionResponded

      The user responded to a pending event invitation and saved it.

      Available in iOS 4.2 and later.

    • deleted

      EKEventViewActionDeleted

      The event was deleted.

      Available in iOS 4.2 and later.

    Import Statement

    Objective-C

    @import EventKitUI;

    Swift

    import EventKitUI

    Availability

    Available in iOS 4.2 and later.