Can I change CalDAV / CardDav accounts using an iOS app?

I was wondering if there is an API for changing CalDAV and CardDAV accounts on iOS. I am developing an application, and I want the user to simply enable and disable the synchronization of the calendar and the contact, without manually setting it in the iOS settings. I know that I can bring my own CalDAV / CardDav implementation and synchronize it using the EventKit / api address book, but I want to avoid such an implementation because it will be much more complicated and error-prone than using the CalDav / CardDAV default iOS implementation.

Thank you for your responses.

+8
api ios caldav carddav
source share
1 answer

Not quite sure what you are trying to do.

  • Create a new calDAV / cardDAV account. - Server side actions.
  • Sign up for an existing calDAV / cardDAV account. Use the Settings app on your device.
  • Creating events / people with a subscription - can do this in your application.

From Documents:

Event Kit provides limited access to the calendar database of users; it does not include everything that would be desirable for the implementation of a fully functional calendar application or reminder, for example, adding participants or accounts.

So that is NO for calDAV.

Documents for the AddressBook are not so prescribed, however, knowing how Apple likes to give the user full control over something at the account level, I suspect the same if this is true for cardDAV.

However, it is possible to add calDAV and cardDAV accounts in the Settings app. This will be your only option to subscribe for new accounts.

0
source share

All Articles