Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You want the state of your iOS app to be saved when it is sent to the background, and for the same state to resume when the application is brought to the foreground.
Use a combination of the UIApplicationDelegate
protocol’s messages sent to your application delegate and the
notifications sent by iOS to preserve the state of your multitasking apps.
When an empty iOS application (an application with just one
window and no code written for it) is run on an iOS device with
support for multitasking for the first time (not from the background),
the following UIApplicationDelegate
messages will be sent to your app delegate, in this order: