以编程方式显示 MPMoviePlayerController 中的控件
我有一个 MPMoviePlayerController 子类,应该在播放完成时显示控件。我已将响应程序附加到 MPMoviePlayerPlaybackDidFinishNotification
通知,并尝试按如下方式设置控件样式:
[self setControlStyle:MPMovieControlStyleEmbedded];
这不起作用。本质上,在视频的末尾我想控制显示。 如何以编程方式显示控件?
注意:控制器不处于全屏模式。
I have a MPMoviePlayerController subclass that should show the controls when playback is finished. I have attached a responder to the MPMoviePlayerPlaybackDidFinishNotification
notification and tried setting the control style as follows:
[self setControlStyle:MPMovieControlStyleEmbedded];
This is not working. In essence, at the end of the video I want to controls to show.
How can I show controls programatically?
NOTE: The controller is NOT in fullscreen mode.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请找到我关于此的完整代码,它正在与我一起
添加 .h 类
在 .m 类中添加此代码 添加此代码“传递电影 URl”
Kindly find my full Code about this , it's working with me
add .h class add this
at .m class add this code "pass the movie URl"