CKQuerySubscription
似乎不能用于订阅云工具包中的共享DB更改。CKDatabaseSubscription
不起作用,CKSubscription
也不起作用
如何实现对共享DB更改的订阅?
很简单。如何才能获得与我共享的关于记录上的更改的通知。I不是记录的所有者.
有关问题如下:
How to receive cloudkit notifications about changes made on record shared with me?
发布于 2017-04-22 15:24:59
结果,在CloudKit中不可能在区域级别或记录级别上订阅共享DB。参考文献:index.html
Be aware that CKQuerySubscription is not supported in the shared database, and
CKDatabaseSubscription currently only tracks the changes from custom zones in the private and shared database.
发布于 2018-02-21 02:04:47
当数据库与我共享CKDatabaseSubscription 时,我挣扎了一段时间才成功地使用订阅。当我和别人分享的时候,一切都很顺利。我犯的错误是,在这两种情况下,我都使用了相同的subscriptionID。如果要订阅共享数据库,则需要一个唯一的subscriptionID。
https://stackoverflow.com/questions/43486557
复制相似问题