【发布时间】:2010-01-19 16:50:45
【问题描述】:
又一个横向模式问题。
我们都见过
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];
废话。我无法让它在模拟器或设备上运行。
我得到的是这样的:
http://i47.tinypic.com/zl9egh.png
当我真的想要这个时:
http://i45.tinypic.com/xms6cm.png
您可能会说,它正在翻转手机,但它没有意识到它已被翻转。
我见过隐藏的方法
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
但我需要这个应用在应用商店上架,我不知道他们是否会对此进行打击。
有没有人知道如何让这该死的东西自己理顺?
【问题讨论】:
标签: iphone objective-c