iPhone interruption - pressing the phone button

When the user presses the phone button on iPhone, the app hides itself and the user goes to the phone menu, which is normal. But the next time the user presses the icon for my app, it starts from the beginning, instead of resuming.

What should I do in order to pause the app on this interruption instead of restarting the app?

Thanks,
Danail

Put this in your build.settings file :)

UIApplicationExitsOnSuspend = false

Peach

Does this affect android devices as well or is multitasking already supported on those devices? If not do we have to do something special for android devices?

views:1237 update:2011/9/28 8:56:32
corona forums © 2003-2011