Graphics Programs Reference
In-Depth Information
18
NSUserDefaults
Many applications include preferences that users can set. Whether users are picking the
size of the text or storing usernames, there is a standard way of enabling iOS application
preferences. In this chapter, you're going to use the
NSUserDefaults
class to add a
preference to your
Whereami
application. This preference will specify the map type of the
MKMapView
.