MPMoviePlayerViewController 通知
如何设置 MPMoviePlayerViewController 的通知?和 MPMoviePlayerController 中的一样吗?
请显示示例
How to set notifications to MPMoviePlayerViewController? Is it the same as in MPMoviePlayerController?
Show example please
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MPMoviePlayerViewController 只是一个包装器,为您提供对 MPMoviePlayerController 的控制。
MPMoviePlayerViewController
有自己的MPMoviePlayerController
,它会发送您使用它所需的所有通知。收听通知的方式如下:
MPMoviePlayerController 类参考
所以基本上,是的 - 您可以使用与中相同的通知
MPMoviePlayerController
The MPMoviePlayerViewController is just a wrapper giving you controls to a MPMoviePlayerController.
MPMoviePlayerViewController
has its ownMPMoviePlayerController
that sends all the notifications you need to work with it.Listening to notifications is done as follows:
There are a lot more notifications you can and should work with that are listed in the
MPMoviePlayerController Class Reference
So basically, yes - You can use the same notifications as in
MPMoviePlayerController