The database containing the data shared by all users.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
The database in this property is available regardless of whether the user’s device has an active iCloud account. The contents of the public database are readable by all users of the app, and users have write access to the records (and other data objects) they create. Data in the public database is also visible in the developer portal, where you can assign roles to users and restrict access as needed.
Data stored in the public database counts against your app’s iCloud storage quota and not against the quota of any single user.