Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AndyCodez

macrumors regular
Original poster
Aug 6, 2009
187
0
Currently I use NSUserDefaults for in app purchase. Basically stores a bit flag to see whether or not the user has purchased the additional content. This application has not been released yet and I was wondering if the NSUserDefaults are stored when the app is backed up by the user in itunes.

Lets hope this is backed up when the user makes a back up of their applications.


Thanks for the help!
 
If you look at "Files and Networking" in the "iPhone Application Programming Guide" Apple tells you which directories are backed up with each sync. The User Defaults should be saved.
 
Could you show your code you used to accomplish this, it would be of great help to combat many confusing, unsuccessful, or incomplete references for using NSUserDefaults? Thanks.


Currently I use NSUserDefaults for in app purchase. Basically stores a bit flag to see whether or not the user has purchased the additional content. This application has not been released yet and I was wondering if the NSUserDefaults are stored when the app is backed up by the user in itunes.

Lets hope this is backed up when the user makes a back up of their applications.


Thanks for the help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.