Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

SDK 4.1 - how to reload app after pause


I am having a tabGroup with several of windows. When I am finished working with my app and pushes the home-button, the app goes into pause-mode. I want the app to reload app.js when it started again. How can i achieve this?

I just want the app to return to the "start" state. is it possible?

Regards, Joakim

— asked November 10th 2010 by Joakim Krassman
  • iphone

2 Answers

  • With Android, you can use the exitOnClose:true property on the root window. See android root windows in the docs. However, I don't know what the equivalent is for iOS. Hopefully someone will add the solution.

    — answered November 11th 2010 by Paul Dowsett
  • Go to your info.plist in the build folder and edit it with a text editor and add this.

    — answered November 11th 2010 by Roger Chapman
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.