UANotificationActionOptions

enum UANotificationActionOptions {}

Clone of UNNotificationActionOptions for iOS 8-10 support.

  • Requires the device to be unlocked.

    Declaration

    Objective-C

    UANotificationActionOptionAuthenticationRequired = (1 << 0)

    Swift

    static var authenticationRequired: UANotificationActionOptions { get }
  • Marks the action as destructive.

    Declaration

    Objective-C

    UANotificationActionOptionDestructive = (1 << 1)

    Swift

    static var destructive: UANotificationActionOptions { get }
  • Causes the action to launch the application.

    Declaration

    Objective-C

    UANotificationActionOptionForeground = (1 << 2)

    Swift

    static var foreground: UANotificationActionOptions { get }