iPad Multitasking support requires these orientations
I'm trying to submit my universal iOS 9 app to Apple (built with Xcode 7 GM) but I receive this error message for the bundle in iTunes Connect, just when I select Submit for Review:
Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.bitscoffee.PhotoMarks.iOS'.
My app has support for Portrait and PortraitUpsideDown orientations but not for the other two.
So is there a work around this imposed requirement, or all iOS 9 iPad apps have to have all four orientations?
iPad多任务处理支持需要所有方向,但是您的应用程序不支持,所以您需要退出,只需将UIRequiresFullScreen
键添加到您的Xcode项目的Info.plist
文件中并应用布尔值YES
。
In Xcode, check the "Requires Full Screen" checkbox under General > Targets, as shown below.
I am using Xamarin and there is no available option in the UI to specify "Requires full screen". I, therefore, had to follow @Michael Wang's answer with a slight modification. Here goes:
Open the info.plist file in a text editor and add the lines:
<key>UIRequiresFullScreen</key>
<true/>
I tried setting the value to "YES" but it didn't work, which was kind of expected.
In case you are wondering, I placed the above lines below the UISupportedInterfaceOrientations section
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
Hope this helps someone. Credit to Michael.
链接地址: http://www.djcxy.com/p/95738.html上一篇: 在Adobe Illustrator或Corel Draw中渲染SVG字体
下一篇: iPad多任务支持需要这些方向