Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSApplicationDelegateMBS class.

NSApplicationDelegateMBS.applicationDidFailToRegisterForRemoteNotificationsWithError(error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No
Application failed to register for remote notifications.

Check your provisioning profile for entitlements.

Available on Mac OS X 10.7 or newer.

Some examples using this event:

NSApplicationDelegateMBS.applicationDidReceiveRemoteNotification(userInfo as Dictionary)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No
A notification was received.

The dictionary contains payload like this:

key "aps" contains another dictionary. This secon dictionary contains keys like "alert", "badge" and "sound".

Available on Mac OS X 10.7 or newer.

Some examples using this event:

NSApplicationDelegateMBS.applicationDidRegisterForRemoteNotificationsWithDeviceToken(deviceToken as memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacCocoa Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No
Application registered for remote notifications.

Tell your server the device token ID and use it in your push notifications.
Distinguish between iOS and Mac versions of your app!

Available on Mac OS X 10.7 or newer.

Some examples using this event:

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


The biggest plugin in space...