using Calendar on iOS - specifying / generating Source

I’m using Calendar API to create a new calendar on a device and add events to it.

Using createCalendarAsync on iOS requires specifying sourceId.

At the moment I get a list of calendars, look for one with owner access and use its source.
I also tried getting a list of sources with getSourcesAsync and guessing which one to use.

It’s working in most cases but in some cases, users don’t seem to have enough calendars to use their sources.

So, is it possible to generate sourceId to use in createCalendarAsync on iOS?


I would like to know too

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.