user149533
user149533

Reputation:

iCloud key value lifecycle

Given that iCloud key-value store entries are not deleted when the app that created them is uninstalled, when is the data deleted?

Upvotes: 0

Views: 188

Answers (1)

Tom Harrington
Tom Harrington

Reputation: 70946

Individual keys are removed when an app calls -[NSUbiquitousKeyValueStore removeObjectForKey:]. That could include all data, or only part of it.

The data is completely removed when the user removes it, in the iCloud section of Settings (on iOS) or System Preferences (on Mac OS X, and yeah, even if it's an iOS-only app).

Upvotes: 0

Related Questions