Question

Is there a way to update the Type field in a Settings.Bundle file ?

What i need to do is toggle the editing ability of the settings.Bundle file item at runtime.

So, if i had a root.plist item called "name" and its Type is "Title" after launching the program i'd like to have the ability to change the Type to "Text Field".
What im actually looking for is a way to make the entire Settings uneditable and then editable again (i'd like to toggle this ability).

If there is a solution at compile time that can be discussed as well.

enter image description here

enter image description here

Was it helpful?

Solution

This cannot be done. The Settings.bundle can't be modified from the runtime. You'll have to implement a settings screen from within your app.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top