Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

How to Delete Tips from CloudKit?

Hi! I use Tips with CloudKit and it works very well, however when a user want to remove their data from CloudKit, how to do that?

In CoreData with CloudKit area, NSPersistentCloudKitContainer have purgeObjectsAndRecordsInZone to delete both local managed objects and CloudKit records, however there is no information about the TipKit deletion.

Does anyone know ideas?

I am worried about GDPR compliance. GDPT and CloudKit

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?

  1. Run your app on a device logged in with your developer account, and do some activities that trigger tip synchronizations.

  2. Log in to CloudKit Console with the account, find the CloudKit container there, and confirm the tip data is there.

  3. 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.

  4. Apply step 3 to all devices that have your app installed.

  5. Go to CloudKit Console again, and check if the tip data is still there.

  6. 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.

  7. Apply step 6 to all devices that have your app installed.

  8. 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.

How to Delete Tips from CloudKit?
 
 
Q