Display an interface for viewing, selecting, and editing calendar events and reminders.
- iOS 4.0+
- Mac Catalyst 13.0+Beta
On iOS, use the EventKitUI framework to show calendar and reminder information to the user modally. EventKitUI provides view controllers for viewing and editing calendar and reminder information, choosing which calendar to view, and for determining whether to present calendars as read-only or readable and writeable.
The view controllers you'll use on iOS are:
EKEvent, for displaying existing events.
EKEvent, for creating, editing, or deleting events.
Edit View Controller
EKCalendar, for selecting one or more calendars, and to determine whether a calendar has read-only or read-write access.
You present these interfaces from within your app. Upon presentation, the system manages all interactions with the user, notifying you when the interfaces are dismissed.
EventKitUI also provides several configurable classes for selecting a default calendar, displaying buttons, or to enabling the user to select one or more calendars.