Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad Multitasking support requires these orientations

I'm trying to submit my universal iOS 9 apps 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 workaround for this imposed requirement, or all iOS 9 iPad apps have to have all four orientations?

like image 257
Cosmin Avatar asked Sep 14 '15 07:09

Cosmin


People also ask

Why is Multitasking not working on my iPad?

To enable these features, go to your iPad Settings, then tap General and then Multitasking. Toggle the Allow Multiple Apps button to enable it. Do the same to the Persistent Video Overlay and Gestures button. If it is enabled, try to disable it and enable it again to make sure the settings are in effect.

How do I turn off Multitasking on iPad 2022?

How to Exit Split-Screen on iPad. To exit split-screen on your iPad, simply tap and drag the bar dividing the screen to the left or the right. Release the bar when it's most of the way across the screen. If you want to close the left side of the screen, drag the split-screen bar to the left.

Where is Multitasking Gestures in iPad settings?

iPads running iOS 12-iOS 10: Go to Settings > General > Multitasking & Dock. Tap the Gestures toggle switch to turn gestures on or off. Multitasking gestures are multi-touch, which means you use four or five fingers on the screen to activate them.


5 Answers

iPad Multitasking support requires all the orientations but your app does not, so you need to opt out of it, just add the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.

like image 84
Michael Wang Avatar answered Oct 19 '22 10:10

Michael Wang


In Xcode, check the "Requires Full Screen" checkbox under General > Targets, as shown below.

enter image description here

like image 601
BatteryAcid Avatar answered Oct 19 '22 11:10

BatteryAcid


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.

like image 72
YKa Avatar answered Oct 19 '22 11:10

YKa


as Michael said,

Check the "Requires full screen" of the target of xcodeproj, if you don't need to support multitasking.

or Check the following device orientations

  • Portrait
  • Upside Down
  • Landscape Left
  • Landscape Right

In this case, we need to support launch storyboard.

like image 43
Mitsuaki Ishimoto Avatar answered Oct 19 '22 10:10

Mitsuaki Ishimoto


Unchecked all Device orientation and checked only "Requires full screen". Its working properly

like image 9
Dinesh Vaitage Avatar answered Oct 19 '22 11:10

Dinesh Vaitage