Titanium Community Questions & Answer Archive

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

iOS 4: Callback for when app is activated from background process?

We used to depend on app.js being run everytime the app was launched. Now it seems that app.js isn't triggered every time the app is opened - if the app is running in the background.

Is there a callback available that we can use when the app is reopened from being in the background?


— asked August 18th 2010 by Dustin Anderson
  • app
  • app.js
  • background
  • callback
  • iphone
  • mobile
  • opening

1 Answer

  • Accepted Answer

    I think you are looking for Ti.App.addEventListener( 'resume', function({})

    — answered August 18th 2010 by Glenn Franxman
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.