-
Notifications
You must be signed in to change notification settings - Fork 1
Accessing the Event Store
levching edited this page Apr 15, 2020
·
3 revisions
Your app must obtain permission from the user before accessing the calendar database: an app must never directly modify the calendar database on its own. ISN_EKSaveResult
is the application’s point of contact for accessing calendar and reminder data.
using SA.iOS.EventKit;
To receive event data in iOS, you must request access to an entity type by using ISN_EKSaveResult
EKEventStore.Instance.RequestAccessToEvent((request) =>
{
if(request.IsSucceeded)
{
Debug.Log("We Initialized EventKit with event!");
}
else
{
Debug.Log("We have error at initialized EventKit with event- " + request.Error.FullMessage);
}
});
for Events
and
EKEventStore.Instance.RequestAccessToReminder((request) =>
{
if(request.IsSucceeded)
{
Debug.Log("We Initialized EventKit with reminder!");
}
else
{
Debug.Log("We have error at initialized EventKit with reminder - " + request.Error.FullMessage);
}
});
for Reminders.
This will show dialog window for user where he can give or denied access to ISN_EKSaveResult
functionality for Events
and Reminders
. Text thay user will see you can set here:
After all this you can use ISN_EKSaveResult
functionality.
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers