Query launch image at runtime

后端 未结 2 1020
粉色の甜心
粉色の甜心 2020-12-18 07:24

I\'d like to have a nice start of my app by fading from the splash screen (UILaunchImageFile) into the main screen. Easy thing, I thought, just show an UIImageView with the

2条回答
  •  误落风尘
    2020-12-18 07:38

    No, you can't do this automagically. Querying the device rotation and selecting an image based on that is perfectly fine.

    You really only need Portrait or Landscape in this situation though, assuming you are rotating your view properly.

提交回复
热议问题