EventKit provides a set of classes for accessing and manipulating a user’s calendar events and reminders. In the tutorial that follows, my goal is to walk you through the first steps of setting up an app that utilizes EventKit. I will demonstrate how to request permission to the user’s calendar and show a couple of examples for how to handle the user’s response (for when they grant access, ordeny it).
- Example scenario
- Storyboard setup
- The role of the Event Store
- Checking for calendar authorization
- Wrapping up
- Was this article helpful? Please share!