The Event Kit and Event Kit UI frameworks together allow iOS applications to access event information from a user’s Calendar database. You can fetch events based on a date range or a unique identifier, receive notifications when event records change, and allow users to create and edit events for any of their calendars. Changes made to events in a user’s Calendar database with Event Kit are automatically synced with the appropriate calendar (CalDAV, Exchange, and so on). This document describes Event Kit concepts and common programming tasks.
You should read this document if you want to display calendar event data or allow users to edit their calendar event data in your iOS application. Event Kit provides limited access to a user’s calendar information. It is not suitable for implementing a full-featured calendar application.
This document contains the following information:
“Fetching Events” explains how to fetch events from the Calendar database.
“Using Event View Controllers” explains how to display event view controllers to allow your users to create and edit events.
“Creating and Editing Events Programmatically” explains how to create and edit events programmatically.
“Creating Recurring Events” explains how to make an event a recurring event.
“Observing Event Changes” explains how to register for notifications about external changes to the Calendar database.
For an in-depth description of the Event Kit and Event Kit UI API, read:
Event Kit Framework Reference provides an in-depth description of the Event Kit API.
Event Kit UI Framework Reference provides an in-depth description of the Event Kit UI API.
The SimpleEKDemo sample code provides a basic example of using the Event Kit and Event Kit UI frameworks to access and edit calendar data.
Last updated: 2010-08-03