Platforms to show: All Mac Windows Linux Cross-Platform

UNUserNotificationCenterMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The central object for managing notification-related activities for your app or app extension.

see also
https://developer.apple.com/documentation/usernotifications/unusernotificationcenter?language=objc

Authorization Options

Constant Value Description
AuthorizationOptionAlert 4 The ability to display alerts.
AuthorizationOptionAnnouncement 128 The ability for Siri to automatically read out messages over AirPods.
AuthorizationOptionBadge 1 The ability to update the app’s badge.
AuthorizationOptionCarPlay 8 The ability to display notifications in a CarPlay environment.
AuthorizationOptionCriticalAlert 16 The ability to play sounds for critical alerts. more
AuthorizationOptionNone 0 No options.
AuthorizationOptionProvidesAppNotificationSettings 32 An option indicating the system should display a button for in-app notification settings.
AuthorizationOptionProvisional 64 The ability to post noninterrupting notifications provisionally to the Notification Center.
AuthorizationOptionSound 2 The ability to play sounds.

Notification Presentation

Constant Value Description
NotificationPresentationOptionAlert 4 Display the alert using the content provided by the notification.
NotificationPresentationOptionBadge 1 Apply the notification's badge value to the app’s icon. more
NotificationPresentationOptionBanner 16 New for macOS 11.0
NotificationPresentationOptionList 8 New for macOS 11.0
NotificationPresentationOptionNone 0 No alert.
Specify this constant when you want to silence any user interactions for a notification.
NotificationPresentationOptionSound 2 Play the sound associated with the notification.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


UNTimeIntervalNotificationTriggerMBS   -   UnZipFileInfoMBS


The biggest plugin in space...