In my iOS app, I have 9 UISwitch
added in the Root.plist
. I can control it from both Phone Setting and Application easily and can save NSUserDefaults
successfully for fixed value.
Now I need to add some more UISwitch
programmatically for user defined value in run time. Should i create custom Setting bundle to do it?
If yes, then how ?
Is it possible from code?
Any Solution?
The settings bundle is simply an xml file that is bundled with the app. You don't have access to this at runtime; you should include dynamic settings within your app.