在 iPad 上处于横向模式时水平翻转视图控制器
我的 iPad 应用程序设置为横向模式。我尝试使用 setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal 来让视图控制器水平翻转,但它的效果就好像它仍然处于纵向状态一样。有什么办法可以解决这个问题吗?
My iPad app is set to landscape mode. I tried to use setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal
to have the view controller flip horizontally, but it does so as if it is still in portrait. Is there any way to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://aseriesoftubes.com/articles/ipad-development-101-orientation/
检查此示例教程..
它将帮助你......
在视图之间切换将是你的解决方案......
http://aseriesoftubes.com/articles/ipad-development-101-orientation/
check this sample tutorial..
it will help u..
changing between views would be an solution for u...
您是否想过将模态视图设置为陆地空间模式,如下所示:
Have you thought to set the modal view into the landspace mode like this: