想要隐藏 MPMoviePlayerController 导航栏中顶部的进度条

发布于 2024-11-18 04:10:55 字数 169 浏览 8 评论 0原文

在此处输入图像描述

有没有办法隐藏 MPMoviePlayerController 导航栏中顶部的进度条?

我想隐藏,因为我不希望用户前进/后退视频。但是,用户可以通过单击“完成”按钮退出它。

enter image description here

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

还在原地等你 2024-11-25 04:10:55

由于洗涤器在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文