Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS Default.png show every time when my app enter foreground from background [duplicate]

I'm new to IOS development.

I set a Default.png file, and it is shown every time when the app enter foreground from background, but I just want Default.png is shown once when the app launch.

like image 622
Kevin Avatar asked Dec 21 '22 05:12

Kevin


2 Answers

I observed that whenever application is resumed from background, iOS 5.0 simulator showed the default image or launch image, whereas iOS 4.3 simulator showed the screenshot of the application, when it was entering background.

like image 179
8suhas Avatar answered Feb 22 '23 23:02

8suhas


For those seeking answer, it might be a case that your app didn't finish a task you set up to do when it enters background. It will finish it and resume, or if you will wait long enough in background the task will be completed and app will enter foreground as expected.

like image 45
Michał Dębski Avatar answered Feb 22 '23 23:02

Michał Dębski