仅适用于iPad方向的人像 [英] iPad orientation portrait only

查看:90
本文介绍了仅适用于iPad方向的人像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将项目摘要">"iPhone/iPod部署信息">支持的界面方向"设置为仅纵向"模式.

I set Project Summary > iPhone / iPod Deployment Info > Supported Interface Orientations to portrait only mode.

这在所有模拟器,iPad(iOS 5.1)和iPhone(iOS 6.1)上都能很好地工作.

This work well on All simulatiors , iPad(iOS 5.1) and iPhone(iOS 6.1).

但是我将iPad上的iOS从5.1升级到6.1.2之后

But after I upgrade iOS on iPad from 5.1 to 6.1.2 then

在iPad上运行的应用程序在应用程序启动时变为横向(左右)模式.

The application running on iPad become landscape (left+right) mode at application start up.

我该如何解决?

推荐答案

尝试转到支持文件中的YourApp-Info.plist文件,并确保同时为Supported interface orientationsSupported interface orientations (iPad)

Try going to YourApp-Info.plist file in Supporting Files and make sure the proper orientations are set for both Supported interface orientations and Supported interface orientations (iPad)

这篇关于仅适用于iPad方向的人像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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