Enumeration

UNNotificationPresentationOptions

Constants indicating how to present a notification in a foreground app.

Topics

Constants

UNNotificationPresentationOptionBadge

Apply the notification's badge value to the app’s icon.

UNNotificationPresentationOptionSound

Play the sound associated with the notification.

UNNotificationPresentationOptionAlert

Display the alert using the content provided by the notification.

See Also

Receiving Notifications

userNotificationCenter:willPresentNotification:withCompletionHandler:

Asks the delegate how to handle a notification that arrived while the app was running in the foreground.