View Full Version : updating an app in app store - what data survives, what not

Aug 25, 2008, 04:37 PM
you release an app in the app store. the app stores some preferences (using CFPreferences) and also creates and maintains some files under its own sandboxed "Documents" directory. at one point you create an update of the app and upload it in the app store. when the user updates your app, are the preferences and the files under "Documents" preserved? i've been looking for this in the sdk documents and couldnt find anything related to it.

Aug 25, 2008, 04:43 PM
Technically prefs and the Documents directory should be left alone. In practice this does not always happen and users lose their data.

Aug 25, 2008, 05:16 PM
thanks admanimal. maybe the instability in this area was only present in the early days of the app store, or in the early 2.x versions, and will have to get fixed. is what you're saying documented as such?