want to hide progressbar which comes on top in nav

2019-05-29 10:43发布

问题:

Is there any way to hide progress bar which comes on top in navigation bar of MPMoviePlayerController?

I want to hide because I do not want user to forward/backward the video. However, User can exit it by clicking on DONE button.

回答1:

Since the scrubber is available both in the Embedded and the FullScreen version of the MPMovieControlStyle the only solution I see is to use MPMovieControlStyleNone and overlay your own version of the Done button on top of the Movie playback view.