iOS NSUserDefaults Question

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!
 

North Bronson

macrumors 6502
Oct 31, 2007
395
1
San José
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.
 

smiwin

macrumors newbie
Sep 25, 2008
2
0
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!
 

Similar threads

  • PinkyMacGodess
2
Replies
2
Views
415
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.