Display iphone application settings in the application

iphone supports a tool to determine your application settings so that it automatically creates a user interface in the Settings application. I also want to allow the user to edit application settings in the application, but it would be nice to repeat using the same user interface that will be automatically created.

See: Application Settings

Is there a way for your application to display settings using the same interface as the Settings application?

+4
source share
1 answer

There is no way to reuse the user interface.

However, there is the possibility of reusing data. Settings.app will place the settings in NSUserDefaults under the keys specified in your plass.plundle plist file. You can change these values ​​in your application, and then switch to Settings.app and see that it changes to reflect your new values. This is really nice if you want to allow the user to edit the settings in the application (if this is what they are used to) or in Settings.app (if this is what they are used to).

EDIT NO. 1

You can watch this stream . There is a library called mySettings that will simplify its creation.

EDIT No. 2

Now there are several libraries that do this:

+9
source

All Articles