Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 12. Adding Navigation and Tab Bar C... > Saving Application Defaults

Saving Application Defaults

On the iPhone, each application can save its settings to a private defaults file. NSUserDefaults provides access to this file. The Twitter application uses it to save the user’s account details.

Using NSUserDefaults

To access the defaults, invoke NSUserDefaultsstandardUserDefaults method:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint