Enumeration

UNAuthorizationStatus

Constants indicating whether the app is allowed to schedule notifications.

Declaration

enum UNAuthorizationStatus : Int

Topics

Status

case notDetermined

The user hasn't yet made a choice about whether the app is allowed to schedule notifications.

case denied

The app isn't authorized to schedule or receive notifications.

case authorized

The app is authorized to schedule or receive notifications.

case provisional

The application is provisionally authorized to post noninterruptive user notifications.

See Also

Getting the Authorization Status

var authorizationStatus: UNAuthorizationStatus

The app's ability to schedule and receive local and remote notifications.

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