UANotificationCategoryOptions

enum UANotificationCategoryOptions {}

iOS version-independent wrapper for UNNotificationCategoryOptions

  • Category will notify the app on dismissal.

    Declaration

    Objective-C

    UANotificationCategoryOptionCustomDismissAction = (1 << 0)

    Swift

    static var customDismissAction: UANotificationCategoryOptions { get }
  • Category allows CarPlay to display notifications.

    Declaration

    Objective-C

    UANotificationCategoryOptionAllowInCarPlay = (1 << 1)

    Swift

    static var allowInCarPlay: UANotificationCategoryOptions { get }
  • Category allows notifications to be automatically read by Siri when the user is using AirPods.

    Declaration

    Objective-C

    UANotificationCategoryOptionAllowAnnouncement = (1 << 4)

    Swift

    static var allowAnnouncement: UANotificationCategoryOptions { get }