AppPrefs: Storing and Retrieving User Preferences

Last Revision:
Version 5.1, 2014-09-17
Updated for iOS 8; Demonstrates launching the Settings app from your application.
(Full Revision History)
Build Requirements:
iOS 8.0 SDK
Runtime Requirements:
iOS 6.0

Demonstrates how to display your app's user configurable options (preferences) 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. The Settings application saves any configured values in the defaults database so that your application can retrieve them at runtime. This sample also shows how to launch the Settings app from your application and how to dynamically update your application's UI when its settings are changed while the app is in the background.