简体   繁体   中英

How to handle the rotation of mpmovie player object in iPhone?

I'm using a custom movie player in my application, its working fine.

But I'm stuck up with managing the rotation of the player, I want to rotate the player as the phone rotates, similar to the default nature of mpmovie player.

How can I control that?

Do the view controllers in the hierarchy above it support auto-rotation? By default, only portrait orientation is supported, but you can override shouldAutorotateToInterfaceOrientation: to specify others.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM