Instance Property

categories

The app’s registered groups of actions.

Declaration

var categories: Set<UIUserNotificationCategory>? { get }

Discussion

This property contains the UIUserNotificationCategory objects that you specified when creating the settings object. Each object corresponds to a group of actions that may be displayed in conjunction with a push notification. After registration, this property contains the set of actions you specified in your initial request.

See Also

Getting the Configured Settings

var types: UIUserNotificationType

A bitmask of the notification types that your app is allowed to use.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software