App Customization with Settings and Defaults
Typically, all but the simplest apps you’re likely to use include a preferences window where the user sets application-specific options. On macOS, you’ll usually find a Preferences menu item in the application’s menu. Selecting it brings up a window where the user enters and changes various options. The iPhone and iPad include a dedicated application called Settings that you’ve likely used before. In this chapter, I’ll show you how to add settings for your iOS application to the Settings app and how to access those settings from within your application.