I was wondering if there is an API for modifying CalDAV and CardDAV accounts on iOS. I am developing an app and I want to make it possible for the user to simply enable and disable calendar / contact synchronisation without setting it up manually in the iOS settings. I know that I can bring my own CalDAV / CardDav implementation and synchronize it using EventKit / address book api, but I want to avoid this kind of implementation, because it will be much more difficult and error-prone than using the default CalDav / CardDAV implementation of iOS.
Thank you very much in advance for your answers.