Search code examples
objective-cxcodecalendarcaldavekeventstore

XCode iOS8 Create EKCalendar from code with CalDAV credits


Is it possible to create an EKCalendar directly from code with CalDAV credentials (Server, User Name, Password...)?

Something like:

+ calendarForEntityType: withCalDAVCredentials: eventStore:

Or the only way it's to previous configure the CalDAV from Settings?

Thanks


Solution

  • No, you can't create such programatically. But the Settings.app isn't the only way either, you might want to check out profiles.