Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

UNNotification.AuthorizationGranted

Queries whether notifications are allowed.

Component Version macOS Windows Linux Server iOS SDK
UNNotification 7.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "UNNotification.AuthorizationGranted" )

Parameters

none

Result

Returns 1 or 0.

Description

Queries whether notifications are allowed.
Returns 1 if allowed or 0 if not. Please check UNNotification.AuthorizationError for the reason.

See also

Release notes

Blog Entries

This function is free to use.

Created 7th June 2017, last changed 7th June 2017


UNNotification.AuthorizationError - UNNotification.Badge