Reset App

I’m using the storyboard api and from my main.lua I have a storyboard.gotoScene( “scene1” ). The problem is that if I test on my device and open the app and then close the app (by clicking on my iphone “home” button on the button) and then click the app icon again, my scene hasn’t restarted. I’ve tried purging the scene first and then going to it from the main.lua but that doesn’t work either…I always return to where I left off. Anybody have any ideas?
Thanks.
[import]uid: 88842 topic_id: 22445 reply_id: 322445[/import]

in your build.settings file look for this line

plist =  
 {  
 UIApplicationExitsOnSuspend = true  
 },  

If its set to false, change that. Having it on false pretty much means that your app will start off where it was left next time its opened if someone closes it by the home key. [import]uid: 69700 topic_id: 22445 reply_id: 89507[/import]

Thanks - that did the trick. [import]uid: 88842 topic_id: 22445 reply_id: 89525[/import]

Is there a way to change exitsonsuspend from false to true outside of the buildsettings? I need it set to false to connect to facebook but then would like to change it to true after connecting.
[import]uid: 88842 topic_id: 22445 reply_id: 89634[/import]