Reputation: 55
I'm writing a navigation based application and I want to release all cached data when it is closed. If someone pushes the button on the iPad then when he started it after 5 secs I want application will start from its begining (first page) not from the last place.
Upvotes: 0
Views: 120
Reputation: 2019
You can add the BOOL Key "UIApplicationExitsOnSuspend" to your info.plist and set it to YES. This will terminate your App when the user presses the home button
Upvotes: 1