要隐藏进度条,该进度条位于MPMoviePlayerController导航栏中的顶部 [英] want to hide progressbar which comes on top in navigation bar of MPMoviePlayerController

查看:115
本文介绍了要隐藏进度条,该进度条位于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.

推荐答案

由于Scrubber在MPMovieControlStyle的嵌入式和全屏版本中均可用,所以我看到的唯一解决方案是使用MPMovieControlStyleNone并覆盖自己的Done版本电影播放视图顶部的按钮.

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.

这篇关于要隐藏进度条,该进度条位于MPMoviePlayerController导航栏中的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆