How to have app re-open to the state it was closed

Since a certain iOS update of the recent past, iPhone/ iPad apps seem to usually reopen in whichever state you closed them, letting you continue where you left off. Is this possible in Corona apps, perhaps using some building settings value? (I understand I can emulate this behavior by saving the whole state in a database and then recreating my sprites etc. during the next start, but I suspect there's an easier way.)

Thanks!!

As far as I know, I don't think corona has added support for that feature yet. So far, I think you can only save the state yourself and reopen it.

I'm still testing this on my app but I have the following in my build.settings file (make sure your corona build is up to date)

1
2
3
4
5
6
7
8
9
settings = {
    iphone =
    {
        plist =
        {
            UIApplicationExitsOnSuspend = false       
        }
    }
}

Thanks so much!

views:1565 update:2011/9/29 9:22:17
corona forums © 2003-2011