ios4 - MPMoviePlayer button overlay not responding in iPhone SDK4.0 -


Did you know how to get overlayed work buttons on MPMoviePlayerController was working in SDK 3.x. Displays the button but does not respond to the touch.

In iOS 4.0, Apple introduced the MPVPlayer VUIUI controller which is basically a UIView subclass An MPMOviePlayerController collects the object (the property is called movieplayer )

Now it's very easy to add custom overlays at the top of your movie player (because it is now a UIView subclass).

Just try to do the following

1) Make an example of an MPMoviePlayerViewController 2) Add it to your UIView of choice (as a subview) 3) Create and Add your overlay (in my case a simple button I think) 4) Add it to your MPMoviePlayerViewControllers (as a subview) above the view property

Is that I can help
Sam *


Comments