I'm trying to achieve a MPMoviePlayerController with a customized control layer.
I need to keep the regular behavior of the MPMoviePlayerController, meaning when the user taps the screen - the control layer shows with all the extra items (or disappears).
This requires inserting a few UIButtons, UIImageViews, and UILabels into the control layer.
I've implemented the needed layer using IB, looks great.
I succeeded in adding the layer into the MPMoviePlayerController.view, but although it's backgroundColor is clearColor it overlaps the MPMoviePlayerController, and so the user can't get to the default movie controller.
I've found a partial solution for this whole issue in chapter 8 of the book:
iPad Programming - A Quick-Start Guide for iPhone Developers
by Daniel H. Steinberg e Eric T Freeman
Great book, btw.
My problem is that they use:
Code:
moviePlayerController.controlStyle = MPMovieControlStyleNone;
while I am trying to avoid implementing ALL of the default control layer buttons/controlls myself.
What is the right way to approach this?
Thank you very much for your help,
OmerV