iOS Developer Library

Developer

EventKitUI 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.

Inheritance


Not Applicable

Import Statement


import EventKitUI @import EventKitUI;

Availability


Available in iOS 4.2 and later.
  • Describes the action that was taken to indicate that the event view controller should be closed.

    Declaration

    Swift

    struct EKEventViewAction { init(_ value: UInt32) var value: UInt32 }

    Objective-C

    typedef enum { EKEventViewActionDone, EKEventViewActionResponded, EKEventViewActionDeleted } EKEventViewAction;

    Constants

    • EKEventViewActionDone

      EKEventViewActionDone

      The user tapped the Done button.

      Available in iOS 4.2 and later.

    • EKEventViewActionResponded

      EKEventViewActionResponded

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

      Available in iOS 4.2 and later.

    • EKEventViewActionDeleted

      EKEventViewActionDeleted

      The event was deleted.

      Available in iOS 4.2 and later.

    Import Statement

    import EventKitUI

    Availability

    Available in iOS 4.2 and later.