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

Events.RequestFullAccessToReminders

Prompts people to grant or deny read and write access to reminders.

Component Version macOS Windows Linux Server iOS SDK
Events 14.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.RequestFullAccessToReminders" )

Parameters

none

Result

Returns Wait, OK or error.

Description

Prompts people to grant or deny read and write access to reminders.
Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests access to reminders; any subsequent instantiations of EKEventStore uses existing permissions.

You can later check status with Events.AuthorizationStatusForEntityType.
The function may return OK if access is granted directly or Wait if user will be asked.

Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.

Requires macOS 14.0 or iOS 17.0 or newer.

Examples

Request access for reminder:

Set Variable [$r; Value: MBS( "Events.RequestFullAccessToReminders" ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 17th January 2024, last changed 25th January 2024


Events.RequestFullAccessToEvents - Events.RequestWriteOnlyAccessToEvents