I'm also storing a Bool in UserDefaults to set whether the user is already subscribed, to prevent getting 'Rate Limited'. Database . Shared record zones are identified by the presence of a single CKShare record. How it Works Answer (1 of 5): Well ,iCloud Drive is where we can store our user's data and files for easy access from other devices. Store private data securely in your users' iCloud accounts for limitless scale as your user base grows, and get up to 1PB of storage for your app's public data. What is CloudKit? - Quora Databases are exposed in the CloudKit Framework via the CKDatabase class. (Inherited from NSObject) Description: Description of the object, the Objective-C version of ToString. . CloudKit supports both public and private databases. For apps that use CloudKit public database, manually add a Queryable index for the recordName and . Another advantage of this approach is that individual user requests target exactly one database (this user's private or the container's public database) al- Request CloudKit Record Zone - theapplady.net . CloudKit private database developer access - Javaer101 The possible values are: public: The database that is accessible to all users of the app. interface CloudKit.Database Overview Each container has a public database whose data is accessible to all users and, if the current user is signed in, a private database whose data is accessible only by the current user. Private Database, here we use Private Database. CloudKit is a framework that lets app developers store key-value data, structured data, and assets in iCloud. A CKShare creates the reference to this record . Hacking CloudKit - How I accidentally deleted your Apple Shortcuts iCloud Private Database Query, Download, and Delete (2/3) . source: Apple Developer . Important Some information relates to prerelease product that may be substantially modified before it's released. (Swift version 5.6 , Xcode 13.3 and iOS 15.4) From Content.view, I call the function vm.retrieve_T100 of ViewModel.swift.