iOS Reference Library Apple Developer
Search

AppPrefs

Last Revision:
Version 1.5, 2010-06-29
Deployment target set to iPhone OS 3.2.
(Full Revision History)
Build Requirements:
iOS 4.0 SDK
Runtime Requirements:
iPhone OS 3.2 or later

Demonstrates how to display your app's preferences or settings in the "Settings" system application. A settings bundle, included in your application’s bundle directory, contains the information needed by the Settings application to display your preferences and make it possible for the user to modify them. It then saves any configured values in the defaults database so that your application can retrieve them at runtime.

This sample also shows how to dynamically update it's UI when its settings are changed while the app is in the background via "NSUserDefaultsDidChangeNotification".

This sample offers an Xcode project already pre-configured to build your Settings bundle as a target. To customize your settings UI, change the Root.plist file.




Last updated: 2010-06-29

Did this document help you? Yes It's good, but... Not helpful...