I've got a weird one when I test on the iPhone... I have a settings.bundle that has a Boolean for background_sounds which is set to YES by default. The problem is, when the app loads first time, the background_sounds pref seems to be set to NO when checked. I've tried synchronizing NSUserDefaults
and everything, but the only way of making it detect the background_sounds setting, is to go to the Settings page for the app, don't touch anything and then go back to the app... Then the sounds start playing again fine.
Any ideas? Is there a bug in the settings bundle or is it just me?? Thanks!
EDIT: I can acatually get it to read the preferences from the settings bundle, if I use NSUserDefaults in the correct way. It's just that I have to physically OPEN the settings panel on the iPhone FIRST before they are noticed in the app. Makes no sense...