Take the 2-minute tour ×

I have some user-adjustable settings in Settings.bundle/Root.plist.

I want to enable the user to reset these settings to their default values with a button or similar from outside the app, right in the Settings.

Is there a way to accomplish that?

share|improve this question
Duplicate post: stackoverflow.com/questions/3959149/… –  petert Nov 15 '11 at 16:36
add comment

1 Answer

up vote 1 down vote accepted

you need to set the default values and save them somewhere... when the user presses the "Revert to Default" button, you should go in and individually set all of the settings to the saved default values

share|improve this answer
An how can I place a button in the settings at all? –  fabb Nov 16 '11 at 8:21
You could add a "Use Defaults" switch where on would be using the default values. –  brandonbocklund Nov 17 '11 at 17:31
did it with the switch! i used registerDefaults and removed all of those when the switch was active. but i have to kill the app and start it again to reset the values. –  fabb Nov 18 '11 at 11:12
add comment

Your Answer


