iOS 9 : Warning "All interface orientations must be supported unless the app requires full screen" for universal app

标签 ios iphone xcode ipad multitasking

我正在开发一款在 iPad 上具有所有方向而在 iPhone 上仅纵向的通用应用程序。该应用程序适用于兼容 iOS 9 的 iPad 上的分屏多任务处理,但我收到以下警告:

All interface orientations must be supported unless the app requires full screen

而且我的应用不需要全屏。它只限于 iPhone 上的人像......应该没问题吧?有没有办法只在 iPhone 上声明需要全屏

提前致谢

顺便说一句,我使用的是 Xcode 7.3.1

最佳答案

Info.plist 中将 UIRequiresFullScreen 设置为 YES

enter image description here

享受...!!!

关于iOS 9 : Warning "All interface orientations must be supported unless the app requires full screen" for universal app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37168888/

相关文章:

iOS: "one-way"导航 Controller 的最佳实践?

ios - 动态信息窗口大小 ios 谷歌地图

iphone - 我需要释放这个对象吗?

ios - 将构建加载到 iTunes Connect 时出现无效的代码签名权利错误

iphone - 在iPhone App中获取Facebook用户名

c# - 如何使用 Xamarin 中的 CallDirectoryExtension 创建一个提供来电显示的应用程序?

iphone - 如何在数据导入 CoreData 时显示 progressBar?

iphone - 从另一个 XIB (iPhone) 的 View Controller 加载 XIB

iPhone 5.0 和 5.1 模拟器不调用 IBActions?

iphone - Xcode iPhone编程: Loading a jpg into a UIImageView from URL