有没有连接到iCloud,让联系人和联系人变更的API? [英] Is there an API to connect to iCloud and get contacts and contact changes?

查看:173
本文介绍了有没有连接到iCloud,让联系人和联系人变更的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有某种可用于iCloud的一个API从苹果,哪一个可以连接到和得到通知的联系信息发生变化时。

I'm wondering if there is an API of some sort available from Apple for iCloud, to which one can hook into and get notified when contact information changes.

此的要点是,我想知道是否有可能到iCloud以外同步处理的iCloud接触(例如从icloud的一些同步服务器,然后向其它设备)。

The point of this is that I'm wondering whether it is possible to sync contacts from iCloud outside of iCloud (e.g. from iCloud to some sync server and then to other devices).

谢谢!

推荐答案

下面是你在找什么的实现。

Here's an implementation of what you are looking for.

虽然在它的一个bug,当你有超过500个联系人,这是行不通的。

Although there is a bug within it, when you have more than 500 contacts, it doesn't work.

我觉得这是有分页的问题。如果您发现有什么不对的地方,请告诉我们。

I think there is a problem with pagination. If you find out what's wrong with it, do tell.

https://github.com/mindcollapse/iCloud-API

这篇关于有没有连接到iCloud,让联系人和联系人变更的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆