Thursday, April 7, 2011

Set Preferences for iPhone app

Setting preferences within an iPhone app can be somewhat frustrating at times. With ios, the setting changes don't take effect until the app is taken out of memory and then reopened. But, here's a good way to do it.

NSUserDefault * myPrefs = [NSUserDefaults standarduserdefaults];
[myPrefs setObject:textfield.text];


New World War II iPhone app in the app store- CODENAME: Trivia WW2

No comments:

Post a Comment