Highlighted

iOS restoring from background issue

Community Beginner ,
May 11, 2016

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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!

TOPICS
Development

Views

209

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

iOS restoring from background issue

Community Beginner ,
May 11, 2016

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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!

TOPICS
Development

Views

210

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 11, 2016 0
Adobe Community Professional ,
May 11, 2016

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2016 0
Community Beginner ,
May 12, 2016

Copy link to clipboard

Copied

Thank you, that has  sorted it!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 12, 2016 0
Engaged ,
May 11, 2016

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 11, 2016 0