If you have been using the Mac OS for any amount of time then you are likely aware of Apple’s password management system known as the Keychain. iOS devices also have a keychain system for storing user data securely.
If you need to store username/password data for a web service securely within your apps then you will likely want to use the iOS keychain service. I’ve found an excellent guide explaining the basics of reading and writing to the keychain. Also included is a sample project demonstrating keychain usage (you will need to run on an actual device to test real saving/loading to the keychain).
The tutorial is from John Muchow and can be found here:
Using Keychain To Store Username And Password
A nice easy to follow guide in case you ever need to use the Keychain service within your apps.
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.