want to hide progressbar which comes on top in navigation bar of MPMoviePlayerController

◇◆丶佛笑我妖孽 提交于 2019-12-08 07:41:06

问题


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.



来源:https://stackoverflow.com/questions/6518009/want-to-hide-progressbar-which-comes-on-top-in-navigation-bar-of-mpmovieplayerco

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!