Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which restriction an app with CloudKit has if user does not turn on iCloud Drive

Which CloudKit services are not available if user not turns on iCloud Drive?

Is it any way to turn on iCloud Drive from app?

I guess downloading records from public container should work regardless iCloud Drive, writing container only if it is enabled?!

like image 276
János Avatar asked Dec 03 '15 13:12

János


People also ask

Do CloudKit apps sync with iCloud users?

This is perhaps the most obvious use for CloudKit: syncing your users' data across their devices. Example: a note taking app where the user can create and read notes on any device associated with their iCloud account. Alternatives: Realm Mobile Platform, Firebase, iCloud KVS, iCloud Documents, custom web app.

Can you use CloudKit without Apple Developer?

Yes you will require paid developer account for CloudKit. Initially, they do give free storage for testing or development purpose but when it grows more you will require to Pay.

What is Apple CloudKit?

CloudKit is a framework that lets app developers store key-value data, structured data, and assets in iCloud. Access to CloudKit is controlled using app entitlements. CloudKit supports both public and private databases.

What are CloudKit zones?

CloudKit record zones (CKRecordZone) provide a mechanism for relating groups of records within a private database. Unless a record zone is specified when a record is saved to the cloud it is placed in the default zone of the target database.


1 Answers

Here is where Apple implies iCloud Drive is required for CloudKit:

Improve the user’s experience by verifying that the user is signed in to their iCloud account before saving records. If the user is not signed in, present an alert instructing the user how to enter their iCloud credentials and enable iCloud Drive. Insert your code that saves records in the else clause below.

https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/CloudKitQuickStart/CreatingaSchemabySavingRecords/CreatingaSchemabySavingRecords.html#//apple_ref/doc/uid/TP40014987-CH3-SW8

like image 50
powertoold Avatar answered Nov 01 '22 20:11

powertoold