Release all cached data
I'm writing a navigation based application and I want to relea开发者_如何学Pythonse 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.
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
精彩评论