如何在Landscape中启动我的应用程序? [英] How can I Launch my application in Landscape?

查看:42
本文介绍了如何在Landscape中启动我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以横向模式启动我的应用程序,应用程序启动后,我想为所有方向提供支持.我已经在info.plist中将初始界面方向属性"设置为横向(左主页按钮)".

I want to start my application in Landscape orientation, after app starts that I want to give support for all orientation. I have set "Initial interface orientation property" to "Landscape (left home button)" in info.plist.

即使我将iPad放置在横向模式下,我的应用程序也会以纵向模式启动.我该如何解决这个问题?

Even if I put iPad in Landscape, my app starts in Portrait mode. How can I solve this issue?

谢谢

Akshay

推荐答案

默认情况下,plist中的方向设置在Xcode 4.x中看起来像这样

By Default the orientation setting in plist would look like this in Xcode 4.x

如下所示更改顺序(或根据您的需要,项目0将默认启动应用程序的方向)

Change the order as shown below (Or according to your need, the item 0 will the orientation in which the app launches by default)

这篇关于如何在Landscape中启动我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆