Cagatay VASFI
Cagatay VASFI

Reputation: 55

Release all cached data

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

Answers (1)

Pierre
Pierre

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

Related Questions