When we create an application with MPMoviePlayer (inside the user-defined UIViewController) and overlaying the UIViewController on top of the player, which is better: - Download the movie to the player using self.view.presentModalView ... or self.view.addSubView ... Or is there another other better way . Now I work with modal representations, and everything works, except that I need to perform some custom rotations. I am looking for a clearer way to do this.
Well, maybe more detailed information. In the iPhone app, I add a player that looks like a modal one, and add an overlay view on it, and it works. But this is a universal application, and it does not work on the iPad in the same way as on the iPhone. In the ipad splitView, my player is on the side of the detail (nonfullscreen), when I play the player twice, it becomes full screen. And now the player is the key window. Here is the biggest problem. I tried to add the overlay view as a subvisor and modal view, and I did it, but the overlay does not know the orientation of the device, and I need to transform the overlay elements, and this I try to avoid. Is there any way to detect a twist in this view?
source
share