Chapter 8. Application Preferences
WHAT YOU WILL LEARN IN THIS CHAPTER:
How to add application preferences to your application
How to programmatically access the Settings values
How to reset your application's preference settings
If you are a relatively seasoned Mac OS X user, you're likely familiar with the concept of application preferences. Almost every Mac OS X application has application-specific settings that are used for configuring the application's appearance and behavior. These settings are known as the application preferences.
In the iPhone OS, applications also have application preferences. In contrast to Mac OS X applications, however, whose application preferences are an integral part of the application, iPhone preferences are centrally managed by an application called Settings (see Figure 8-1).
The left side of the Settings application displays the preferences of system applications as well as third-party applications. Tapping any setting displays the details on the right side of the screen, where you can configure the preferences of an application.
In this chapter, you learn how to incorporate application preferences into your application and modify them programmatically during runtime.
CREATING APPLICATION PREFERENCES
Creating application preferences for your iPad application is a pretty straightforward process. The process involves adding a resource called the Settings Bundle to your project, configuring a property list file, and then deploying your application. When your ...