At the moment, iEventKit FindEvents read events for all calendars on the device.
The underlying library allows you to specify an individual calendar. It would be useful to expose this in the library.
https://developer.apple.com/documentation/eventkit/retrieving_events_and_reminders?language=objc
In the meantime, a workaround can be found here.
https://www.b4x.com/android/forum/threads/ieventkit-events-from-one-calendar-only.98822/#post-622454
Thanks
Andrew
The underlying library allows you to specify an individual calendar. It would be useful to expose this in the library.
https://developer.apple.com/documentation/eventkit/retrieving_events_and_reminders?language=objc
You can specify a subset of calendars to search by passing an array of EKCalendar objects as the calendars parameter of the predicateForEventsWithStartDate:endDate:calendars: method. You can get the user’s calendars from the event store’s calendarsForEntityType: method. Passing nil tells the method to fetch from all of the user’s calendars.
In the meantime, a workaround can be found here.
https://www.b4x.com/android/forum/threads/ieventkit-events-from-one-calendar-only.98822/#post-622454
Thanks
Andrew