3

ViewController1 使用纵向。ViewController2 使用横向。如果我使用:

[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationPortrait];

我的应用程序会被拒绝吗?如果我不能使用这个电话,我的其他选择是什么?仅仅旋转图像是不够的,因为我需要以正确的方向使用操作表和警报提示。

4

1 回答 1

1

根据类文档(http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplication_Class/Reference/Reference.html),它似乎是 API 的文档部分,因此对放。

于 2010-09-21T03:30:20.990 回答