I don't think TipKit
provides any way to delete the data in the CloudKit container, but am guessing that users can delete the data using Settings.app. To confirm, would you mind to try the following?
-
Run your app on a device logged in with your developer account, and do some activities that trigger tip synchronizations.
-
Log in to CloudKit Console with the account, find the CloudKit container there, and confirm the tip data is there.
-
On your device, go to Settings > iCloud > Saved to iCloud > your app, and turn the checkbox off. This prevents your app from using iCloud on this device.
-
Apply step 3 to all devices that have your app installed.
-
Go to CloudKit Console again, and check if the tip data is still there.
-
On your device, go to Settings > iCloud > Saved to iCloud > iCloud Drive > Manage Storage > View iPhone Storage > your app, and tap Delete App
. This deletes your app and all its data, so be sure to back up the data beforehand, if needed.
-
Apply step 6 to all devices that have your app installed.
-
Go to CloudKit Console again, and check if the tip data is still there.
I am super curious what you will see at step 5 and 8.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.