play movie file during iphone application startup(i.e during application loading)

前端 未结 5 2020
不思量自难忘°
不思量自难忘° 2021-01-07 08:10

I want to play a movie file or any animation file till the time application not loaded completely.
Is there any simple way to do it?

5条回答
  •  孤独总比滥情好
    2021-01-07 08:30

    Depends on what you mean.

    The iPhone shows a still image (Default.png) while the application loads, prior to your code getting any control.

    Once your code has control, you can use MPMoviePlayer to play a video. You could launch a separate thread to do whatever takes so long that you want to hide it behind a video...

提交回复
热议问题