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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top