Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a user manually delete values in iCloud key-value storage NSUbiquitousKeyValueStore

I'm wondering if there is a way someone other than I (the developer) can delete values stored in NSUbiquitousKeyValueStore.

Documentation states that an app is given 1MB/1024 Key Value pairs. It does not mention if a user is able to delete them via settings, deleting the app, or through any other means.

Is this a safe assumption?

like image 942
Erik Kerber Avatar asked Nov 12 '13 14:11

Erik Kerber


1 Answers

You are correct in that the end user cannot delete the iCloud KVS data. What's shown in the settings comes from document based/coredata storage, and of course there is iCloud drive as well.

The only way they can nuke it is if you allow them to do so via your application (i.e. pressing a button that executes code to kill a entry in the dictionary).

like image 51
Dreaming In Binary Avatar answered Oct 24 '22 07:10

Dreaming In Binary