如果允许用户启用/禁用CloudKit Sync,我们应该如何处理跟踪交易的历史记录?

发布于 2025-02-10 04:23:14 字数 570 浏览 1 评论 0原文

由于关注隐私,我们希望提供一个切换开关,以便用户具有自由,可以选择是否将coredataiCloud同步。

我们可以通过以下建议从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文