Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 9.0 9.1 9.2 9.3 9.4 9.5 10.0 10.1 10.2 10.3 Statistic
Requests access for the entity type.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Type||Which entity type you like to request: Event or Reminder.||"Event"|
Returns Wait, OK or error.
DescriptionRequests access for the entity type.
Users are able to grant or deny access to event and reminder data on a per-app basis. To request access to event and/or reminder data, call Events.requestAccessToEntityType. This will not block the app while the user is being asked to grant or deny access.
Until access has been granted for an entity type, the event store will not contain any calendars for that entity type, and any attempt to save will fail. The user will only be prompted the first time access is requested; any subsequent instantiations of EKEventStore will use the 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.
Request access for reminder:
- Mac and iOS/Events/Events Changes
- Mac and iOS/Events/Events Create Event
- Mac and iOS/Events/Events Create Reminder
- Mac and iOS/Events/Events Import
- Mac and iOS/Events/Events Sync
Created 10th March 2016, last changed 13th March 2016
Feedback: Report problem or ask question.
MBS Xojo PDF Plugins