【发布时间】:2010-06-02 04:51:49
【问题描述】:
大家好,我有我的闪屏,我想在横向模式下显示,而所有其他屏幕都在 potrait 模式下显示。我的根视图控制器充当启动屏幕,我正在 viewdidload 方法中编写此代码
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
但此代码不起作用,并显示 UIdevice 可能无法响应 setorentation 请指导我如何仅更改第一个启动屏幕的方向,并且其他屏幕应处于 potrait 模式
【问题讨论】:
标签: iphone objective-c user-interface device-orientation