Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamically Changing the Values of Root.plist File in Settings.bundle

Tags:

ios

Is there anyway to change the values of some tags in the Root.plist file contained inside the Settings.bundle.

Or

Is there anyway I can use two different Root.plist file for the Settings.bundle.

In my scenario the settings of the app changes for different environments? By settings I mean Click on "Settings" of iPhone and then click on the "App" and you can see settings if you have any?

UPDATE: How do I change the values of item[0], item1, item[2] dynamically in the code. enter image description here

like image 791
john doe Avatar asked Feb 25 '14 23:02

john doe


1 Answers

You can update values stored in the Settings.bundle via NSUserDefaults. Check out more in Apple's Preferences and Settings Programming Guide

like image 54
iksnae Avatar answered Nov 09 '22 04:11

iksnae