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.