iOS Tutorial 22 'Settings Bundle'

preview_player
Показать описание
Build your own app settings.

You like it? Share it ...
Next is coming soon.

Xcode 5.0
iOS 7
Рекомендации по теме
Комментарии
Автор

I suggest to use [[NSUserDefaults standardUserDefaults] synchronize]; in the App delegate in the and applicationDidBecomeActive to update (and synchronize) the user settings when your App become active :-). In this way you are sure to have the correct settings every time.

LorenzoManera
Автор

this example was not working for me, I had to change valueForKey to boolForKey and then it was fine.

ViewMyBits
Автор

how can I generate the ipa and plist files with the settings bundle so I can send the ipa to a web page?

FernandoKegin
Автор

If changing the Switch back, the value is still YES..

leeewis
Автор

So this settings from Settings Bundle are system wide? or just for our app, but  appears in main system settings?

knoppix