MPVideoPlayer add/remove buttons

2019-04-14 15:36发布

问题:

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 ..