MPVideoPlayer add/remove buttons

妖精的绣舞 提交于 2019-12-06 10:27:56

问题


Does anyone knows how to add/remove buttons from the MPVideoPlayer window?

I put bellow an example form an app that does that. It is in App Store which means that it is allowed by Apple.

Thank you in advance.

UPDATE I think that the main way to do it is just by obtaining the UITabBarController of the MPVideoPlayer window.

Example http://img338.imageshack.us/img338/5184/poz.jpg


回答1:


find the keywindow then u can find the view ..... so u could be access the button of the view ..



来源:https://stackoverflow.com/questions/1665719/mpvideoplayer-add-remove-buttons

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!