ICL1901
ICL1901

Reputation: 7778

How can I make an app restart every time it is opened?

I have an app that lets say, shows the alphabet. Each time I start the app, I'd like it to start at the letter A.

Right now, I guess because of multi-tasking, the app starts wherever it left off.

Is there a good way to force it to start at the beginning each time?

Thanks.

Upvotes: 2

Views: 1367

Answers (1)

epatel
epatel

Reputation: 46051

There is a parameter to set in the Info.plist. Look for UIApplicationExitsOnSuspend

You can also setup your app delegate to handle the wake up as you want. Have a look at this http://www.cocoanetics.com/2010/07/understanding-ios-4-backgrounding-and-delegate-messaging/

Upvotes: 3

Related Questions