Leonardo
Leonardo

Reputation: 9857

understanding Launch images iPhone/iPad

As suggested by Apple I have provided a launch image which equals to my home page iOS app.

At the moment I am testing on the iPhone simulator and I wanted to know if the same happens on real devices.

Everything works fine, however when I am in pages other than home page and I exit from application by pressing the button, then when I enter again, the launch images shows for an instant, and then suddenly the last viewed pages appears.

I wonder how can I avoid this "flickering" of pages. I don't know if this is important, but I am using Storyboards.

Upvotes: 4

Views: 304

Answers (1)

Thomas Nadin
Thomas Nadin

Reputation: 1207

This is the intended behaviour if you immediately start the app again. See my answer to another Stack Overflow question on a similar matter.

To explain, the Default.png image is used when the OS is unable to take a screen shot of your last view state. Giving the OS a little longer to screen shot the app will prevent the Default.png being used. This is done so that the device does not just show a black screen, followed by your app popping in.

I am not aware of functionality to see if the OS has finished taking a screen shot. If this was possible you could place a UIImageView on top of your last view and do a more subtle fade out one you have control again.

Upvotes: 2

Related Questions