Currently if someone switches to another app while mine is running, when I come back to my app it restarts. I have seen some Corona apps pause the game so that when you come back to it, it starts from the pause screen instead of completely restarting. How is this done? [import]uid: 52127 topic_id: 12152 reply_id: 312152[/import]
In build.setting add UIApplicationExitsOnSuspend = false, like this:
iphone =
{
plist =
{
MinimumOSVersion="4.0.0",
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = false
}
}
[import]uid: 14032 topic_id: 12152 reply_id: 44222[/import]
in your build.settings, have
[code]
settings =
{
iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false
},
},
}
[/code] [import]uid: 24641 topic_id: 12152 reply_id: 44223[/import]
Great, thanks guys. [import]uid: 52127 topic_id: 12152 reply_id: 44226[/import]