Skip to main content
davebartlett
Participant
May 11, 2016
Answered

iOS restoring from background issue

  • May 11, 2016
  • 2 replies
  • 387 views

Hi all,

I am currently developing an AIR mobile app using Starling 2.x and Feathers 3.x.  When I publish the app out to my iPad and place it into the "background", by double pressing the home button and selecting the app again, when it restores itself it seems to be reloading.  Does anyone have any ideas, please, why this might be happening?

Thanks,

Dave

This topic has been closed for replies.
Correct answer Colin Holgate

Make sure you're not using UIApplicationExitsOnSuspend. Read about how you would use that here:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

and then make sure you're not using it!

2 replies

Inspiring
May 11, 2016

It might be a lost of context.

Try

Starling.handleLostContext = false;

and see if it crashes when you get back in the app. If yes it's a lost of context.

Then you should see what triggers the lost of context or live with it.

Colin Holgate
Colin HolgateCorrect answer
Inspiring
May 11, 2016

Make sure you're not using UIApplicationExitsOnSuspend. Read about how you would use that here:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

and then make sure you're not using it!

davebartlett
Participant
May 12, 2016

Thank you, that has  sorted it!