iOS app shows last shown view instead of splash screen- but only sometimes

后端 未结 5 1327
太阳男子
太阳男子 2021-01-19 12:49

Sometimes when I open my app (either while resuming it after it was dormant for a while or while opening it after it has been \'quit\'), the splash screen, which basically j

5条回答
  •  滥情空心
    2021-01-19 13:08

    Yes, that's working as intended. Every time your app is going to suspended state, iOS will take a screenshot and use it as a launching image on next launch, except if it's a fresh launch. So "or while opening it after it has been 'quit'" doesn't seem right. If that really happens, it means your app was not quit when you think it was.

    Anyway, it doesn't matter if app launches from scratch or from background, you should always display your view as soon as possible, give user some kind of notice that it's loading, then handle loading content asynchronously, not have the user wait for unresponsive app hoping it will work some time soon.

提交回复
热议问题