CloudKit: Invalid Data Size Limits
| Originator: | marcin.krzyzanowski | ||
| Number: | rdar://23497627 | Date Originated: | 11-Nov-2015 |
| Status: | Closed | Resolved: | 8-Sep-2016 |
| Product: | CloudKit | Product Version: | |
| Classification: | Reproducible: |
Documentation says: Maximum number of records in a response = 200, while in fact it is 100 when doing query request. https://developer.apple.com/library/prerelease/ios/documentation/DataManagement/Conceptual/CloutKitWebServicesReference/PropertyMetrics/PropertyMetrics.html#//apple_ref/doc/uid/TP40015240-CH23-SW1
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations
This issue behaves as intended based on the following:
Due to the way CloudKit works, there is no guarantee that you will get back 200 records, just that 200 is the max you will ever get back. Since the sync API walks over all the changes from the syncToken given it’s possible you will only get back one record in the response (and would have to sync down more with another request with the syncToken) if you for instance edited one record 200 times.
We are now closing this bug report.
If you have questions about the resolution, or if this is still a critical issue for you, then please update your bug report with that information.
Please be sure to regularly check new Apple releases for any updates that might affect this issue.