When the application is sent to the background, i need the application to shutdown completely. Presently, when my app goes to the background, and when i call it back it shows the view i was working before it went to the background.
I am doing this to release memory.
How can i do this programatically ?
Add a key
UIApplicationExitsOnSuspendto YES on info.plistMore info here
https://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html