EventKit (System Calendar) Integration into iOS App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
EventKit (System Calendar) Integration into iOS App
Simple
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

EventKit Integration (System Calendar) in iOS App

EventKit — a framework for reading and writing events to the system calendar on iOS and macOS. Technically straightforward to integrate, but there are several places where developers consistently lose time.

Permissions and typical mistakes

Before iOS 17, EventKit used one key to request Calendar access: NSCalendarsUsageDescription in Info.plist. Since iOS 17, Apple split access into two levels: write-only (NSCalendarsWriteOnlyAccessUsageDescription) and full access (NSCalendarsFullAccessUsageDescription). An app built for iOS 17 SDK without NSCalendarsWriteOnlyAccessUsageDescription will crash when trying to create an event — even if the old key is present.

Access request via EKEventStore.requestFullAccessToEvents returns asynchronously. Common mistake — calling EKEventStore.save immediately after requestAccess without waiting for the user's response. Result: EKErrorCalendarAccessDenied in release build, because simulator sometimes grants access automatically without a dialog.

Implementation approach

Working with EKEventStore — it's a heavyweight object, create once and reuse through a singleton or injectable service. Creating a new instance for each request — memory leak and performance hit.

To create an event:

let store = EKEventStore()
let event = EKEvent(eventStore: store)
event.title = "Meeting"
event.startDate = startDate
event.endDate = endDate
event.calendar = store.defaultCalendarForNewEvents
event.addAlarm(EKAlarm(relativeOffset: -600)) // -10 minutes

do {
  try store.save(event, span: .thisEvent)
} catch {
  // EKErrorNoCalendar, EKErrorEventNotMutable — handle separately
}

EKSpan.thisEvent vs EKSpan.futureEvents — important parameter when working with recurring events. Client wants to change one specific event in a series — use thisEvent. Wants to change everything from that date onward — use futureEvents. Can't mix them up.

Subscribe to calendar changes via EKEventStoreChangedNotification if the app displays an event list: user might have changed an event directly through system Calendar.app, and UI needs updating.

What's included in the work

  • Setting up Info.plist for iOS 16 and iOS 17+
  • Requesting permissions with correct handling of all states (denied, restricted, fullAccess, writeOnly)
  • CRUD operations with events: create, edit, delete
  • Working with recurring events and reminders
  • Subscribing to storage changes
  • Handling multiple calendars (iCloud, local, Exchange)

Timeline

2–3 days including real device testing under iOS 16 and 17. Cost calculated individually.