PDA

View Full Version : How to persist data after app removal?




OldGit
Feb 25, 2009, 07:34 PM
I assume that when a user deletes the app that all data stored locally by the app is deleted. But what if I wished to have data persist so that if they downloaded the app again, the app could reuse some of the old info such as preferences/login details etc

Can I do this?



Jeremy1026
Feb 25, 2009, 09:46 PM
I assume that when a user deletes the app that all data stored locally by the app is deleted. But what if I wished to have data persist so that if they downloaded the app again, the app could reuse some of the old info such as preferences/login details etc

Can I do this?

Only if you constantly sync their data on your server and tie it to their UDID. Then on each launch send what's stored on your server to the device. Obviously not practical at all.

dejo
Feb 25, 2009, 09:53 PM
Does a settings bundle get removed when you delete an application? Probably, huh?

Jeremy1026
Feb 25, 2009, 10:03 PM
Does a settings bundle get removed when you delete an application? Probably, huh?

Yes

firewood
Feb 26, 2009, 01:21 AM
Try putting something in the Keychain.