简体   繁体   English

首次同步时Cloudkit同步时间

[英]Cloudkit sync time when syncing for the first time

I am trying to sync data with NSPersistentCloudKitContainer when I build the app for the first time I try to show loading page based on NSPersistentCloudKitContainer.eventChangedNotification in the documentation says NSPersistentCloudKitContainer is all responsible for syncing an I don't have access to syncing process so my problem is I have about 1000 record or less but it takes about 5 min at the beginning when I build the app for the first time (apple rejected my app because of this) I'm afraid by the time goes and user may add more records to the data it will take more time to sync those data how can I improve syncing time!我第一次构建应用程序时尝试与NSPersistentCloudKitContainer同步数据我尝试显示基于文档中NSPersistentCloudKitContainer.eventChangedNotification的加载页面说NSPersistentCloudKitContainer全部负责同步我无权访问同步过程所以我问题是我有大约 1000 条或更少的记录,但是当我第一次构建应用程序时,一开始大约需要 5 分钟(苹果因此拒绝了我的应用程序)恐怕随着时间的推移,用户可能会添加更多记录对于数据,同步这些数据需要更多时间我该如何提高同步时间!

remember to transfer your development schema to production in cloudkit console before release!请记住在发布之前将您的开发模式转移到 cloudkit 控制台中的生产!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM