編輯

共用方式為


UserNotificationsUI Namespace

The UserNotificationsUI namespace provides types that allow for custom UIs on receipt of user notifications.

Classes

NSExtensionContext_UNNotificationContentExtension

Content extension for presenting notification UI, including UI for playable content.

UNNotificationContentExtension_Extensions

Extension methods to the IUNNotificationContentExtension interface to support all the methods from the UNNotificationContent protocol.

Interfaces

IUNNotificationContentExtension

Interface that contains the mandatory methods, if any, for the UNNotificationContent protocol, which is required for displaying notification content from a view controller's view with custom UI.

Enums

UNNotificationContentExtensionMediaPlayPauseButtonType

Enumerates the kinds of media control button sets that the system will provide for playable notification content.

UNNotificationContentExtensionResponseOption

Enumerates preferred notification responses.