Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在iPhone sdk中以横向模式启动闪屏_Iphone_Objective C_Splash Screen - Fatal编程技术网

如何在iPhone sdk中以横向模式启动闪屏

如何在iPhone sdk中以横向模式启动闪屏,iphone,objective-c,splash-screen,Iphone,Objective C,Splash Screen,我正在开发一个仅在横向模式下的应用程序 在我的应用程序中,我使用的是闪屏图像(480 X 320)。运行Xcode时,飞溅图像仅以纵向模式显示,而视图仅以横向模式显示 有人能建议如何在横向模式下实现此启动屏幕吗?在横向模式下启动,并使您的默认.png成为横向模式 来自文档: 如何在横向模式下启动应用程序? 在景观中启动应用程序 模式下,编辑要添加的Info.plist文件 UIInterfaceOrientation键与 适当的值 (UIInterfaceOrientation和ScapeRig

我正在开发一个仅在横向模式下的应用程序

在我的应用程序中,我使用的是闪屏图像(480 X 320)。运行Xcode时,飞溅图像仅以纵向模式显示,而视图仅以横向模式显示


有人能建议如何在横向模式下实现此启动屏幕吗?

在横向模式下启动,并使您的默认.png成为横向模式

来自文档:

如何在横向模式下启动应用程序?

在景观中启动应用程序 模式下,编辑要添加的Info.plist文件 UIInterfaceOrientation键与 适当的值 (UIInterfaceOrientation和ScapeRight 或 UIInterfaceOrientation和scapeLeft), 如清单1所示。这提供了一个 提示系统设置 状态栏的方向 适当地在发射时

清单1:以横向模式启动应用程序

<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string> 
UIInterfaceOrientation
UIInterfaceOrientationAndscapeRight

查看更多信息。

此问题已在此处得到解答: