MPVideoPlayer添加/删除按钮 [英] MPVideoPlayer add/remove buttons
本文介绍了MPVideoPlayer添加/删除按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道如何在MPVideoPlayer窗口中添加/删除按钮?
Does anyone knows how to add/remove buttons from the MPVideoPlayer window?
我把一个示例形成一个应用程序来做到这一点。它在App Store中,这意味着Apple允许它。
I put bellow an example form an app that does that. It is in App Store which means that it is allowed by Apple.
提前谢谢。
UPDATE 我认为这样做的主要方法是获取 MPVideoPlayer窗口的
。 UITabBarController
UPDATE I think that the main way to do it is just by obtaining the UITabBarController
of the MPVideoPlayer window
.
示例http ://img338.imageshack.us/img338/5184/poz.jpg
推荐答案
找到关键窗口然后你可以找到视图.....所以你可以访问视图的按钮..
find the keywindow then u can find the view ..... so u could be access the button of the view ..
这篇关于MPVideoPlayer添加/删除按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文