是否有 API 可以连接到 iCloud 并获取联系人和联系人更改? [英] Is there an API to connect to iCloud and get contacts and contact changes?

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

问题描述

我想知道 Apple 是否提供了一种适用于 iCloud 的 API,可以连接到该 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

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

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