Smooth transition from launch image to main view

前端 未结 4 1272
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 22:40

Is it possible to implement a smooth transition when the app loads, from the launch image to the first view?

The default behavior is on/off, with an immediate change

4条回答
  •  Happy的楠姐
    2020-12-13 23:09

    There's no framework support, but you can get that result if you do it yourself, manually. Depending on what your launch image is, and what your UI looks like, you can do it in different ways, but basically: make your first view controller load and display your default.png image in an image view when it loads up. Then animate a fade out of that image to reveal your actual UI.

提交回复
热议问题