saving website contacts on iCloud

2020-07-27 03:37发布

问题:

Wondering if someone could give me some advice, I am building a CRM for a client, and one of their "like to haves" is that if they create a new contact they would like the contacts details be both stored in the database but also sync with there iphone/ipad address book.

The only way I can think of doing this is if iCloud offers an api, is this something that could be achieved, or are there any other solutions that maybe could help me.

The CRM is being built on PHP if that makes a difference.

回答1:

Use Google Contacts API https://developers.google.com/google-apps/contacts/v3/ and set up Gmail as Exchange server on iOS device.



回答2:

The iPhone supports calDAV (calendaring) and cardDAV (address book) protocols for shared calendaring and address book features.

PHP client implmentation as part of roundcube: http://www.crash-override.net/carddav.html

Open source calDAV and cardDAV implementation: http://www.davical.org/



标签: php icloud