alduin
alduin

Reputation: 317

How to avoid overwriting data file in newer app versions

I'm using Xamarin studio to create an iOS app. I'm storing user information in a .dat file on the device. How do I keep this .dat file and it's information intact when I push a new update to my app over iTunes? Essentially when the user updates the app, I want the same user information they had before.

Upvotes: 0

Views: 58

Answers (1)

Jason
Jason

Reputation: 89214

Updating your app will not overwrite any data stored in the Documents folder or any other writable folder. The only way this will happen is if your app explicitly writes data to those folders.

Upvotes: 1

Related Questions