如果允许用户启用/禁用CloudKit Sync,我们应该如何处理跟踪交易的历史记录?
由于关注隐私,我们希望提供一个切换开关,以便用户具有自由,可以选择是否将coredata
与iCloud
同步。
我们可以通过以下建议从 https://developer.apple。 com/forums/thread/118924?login = true
但是,一旦用户禁用CloudKit Sync,我们就不应执行历史记录跟踪交易清除。
原因是,如果几个月后/几年后,用户决定再次打开CloudKit同步,缺乏足够的历史记录跟踪交易,将导致CloudKit Sync失败。
这引起了困境。如果我们从不清洁跟踪交易的历史记录,会导致磁盘完整问题吗?
如果是这样,我可以知道,如果用户允许用户启用/禁用Cloudkit Sync? ,请处理历史记录跟踪交易的正确方法
。
Due to privacy concern, we wish to provide a toggle switch, so that user has the freedom, to choose whether to sync CoreData
with iCloud
.
We can implement such a feature by following suggestion from https://developer.apple.com/forums/thread/118924?login=true
However, we should not perform history tracking transactions purging, once user disables CloudKit sync.
Reason is that, if few months later/ few years later, user decides to turn on CloudKit sync again, lack of sufficient history tracking transactions, will cause CloudKit sync fail.
This is causing a dilemma. If we never clean the history tracking transactions, will it cause disk full issue?
If that is so, may I know, what is the correct way to handle history tracking transactions purging, if we allow users to enable/ disable CloudKit sync?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论