想要隐藏 MPMoviePlayerController 导航栏中顶部的进度条
有没有办法隐藏 MPMoviePlayerController 导航栏中顶部的进度条?
我想隐藏,因为我不希望用户前进/后退视频。但是,用户可以通过单击“完成”按钮退出它。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于洗涤器在 MPMovieControlStyle 的嵌入式和全屏版本中均可用,因此我看到的唯一解决方案是使用 MPMovieControlStyleNone 并将您自己版本的“完成”按钮覆盖在“电影播放”视图的顶部。
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.