[英]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. 但是我坚持管理播放器的旋转,我想随着电话旋转来旋转播放器,这类似于mpmovie播放器的默认性质。
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. 默认情况下,仅支持纵向方向,但是您可以覆盖shouldAutorotateToInterfaceOrientation:
来指定其他方向。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.