82

I have a large app that I will need some time to optimize for iOS9.

Edit: What I am worried about is all the UI getting squeezed together when the app window size is reduced. So my question is, is there any way to force full screen for the app?

hasan
  • 23,815
  • 10
  • 63
  • 101
Zia
  • 14,622
  • 7
  • 40
  • 59
  • I've made an edit to my answer. I also suggest you to watch the whole video from WWDC - it is very helpful in understanding the adoption process. – Sega-Zero Jun 10 '15 at 22:47

4 Answers4

195

To opt-out (disable) multi-tasking for your application:

Select your TargetGeneral Section → Scroll Down and check Requires full screen

It gets applied to the plist's UIRequiresFullScreen key value.

enter image description here

Note: Apps are required to support all screen orientations if it supports multitasking. Otherwise, apps will get the following error on publishing:

Invalid Bundle. iPad Multitasking support requires these orientations: ...

hasan
  • 23,815
  • 10
  • 63
  • 101
  • I don't know, that option should be marked for legacy builds... Anyways... You saved my life! 5+ For you. – Helen Wood Oct 09 '15 at 19:37
  • The key should be UIRequiresFullScreen, case sensitive (Source https://developer.apple.com/library/prerelease/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/QuickStartForSlideOverAndSplitView.html#//apple_ref/doc/uid/TP40015145-CH13-SW1) – Alex Sorokoletov Oct 18 '15 at 04:05
  • @AlexSorokoletov please, go ahead and update the answer. – hasan Oct 18 '15 at 09:46
  • Doesn't let me edit 1 character. I see from the history you were able to change 1 character once. – Alex Sorokoletov Oct 19 '15 at 13:57
  • 1
    How to disable multi-tasking for App-Extension ? because it steal autorotation control from my app. – Jayesh Lathiya Dec 08 '15 at 11:06
  • With UIRequiresFullScreen solution, i can lock orientation on iPad2 & iPad Ratina. but it did not work on iPad Air & iPad Pro. – Jayesh Lathiya Dec 08 '15 at 11:57
  • This attribute shouldnt have any relation with the app supported orientation. As you can see in the same screen shots there are a seperate check box for the orientation. Also there is a combo box to switch between the iphone and ipad to allow the app to have a different set of upported orientation for each device class. – hasan Dec 08 '15 at 15:20
  • A tab bar and not combo box. The old xcode had a combo box. – hasan Dec 08 '15 at 15:21
55

You have to modify your project to support multitasking. According to WWDC 2015 video, to adopt your app for multitasking, satisfy these requirements:

  1. Build your app with iOS 9 SDK
  2. Support all orientations
  3. Use Launch Storyboards

So, if any of this is not done yet, your app will not be able to support multitasking.

Of course, if you don't use size classes, put it at the top of the list.

Edit: according to you question edit. There is a UIRequiresFullScreen key in Info.plist. See more at Apple docs

bneely
  • 9,083
  • 4
  • 38
  • 46
Sega-Zero
  • 3,034
  • 2
  • 22
  • 46
22

To opt out of Slide Over and Split View, do so explicitly by adding the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.

You can set above thing using General tab of Targets, Select Requires Full Screen check. Refer below image for the sameenter image description here

Note :

A user can disable Slide Over and Split View in Settings > General > Multitasking. If you think you’ve set up everything correctly and find that these features still don’t work, check this setting.

See Adopting Multitasking Enhancements on iPad - Slide Over and Split View Quick Start.

Nilesh Patel
  • 6,318
  • 1
  • 26
  • 40
5

It's still possible to opt-out of iPad multitasking — but Apple announced at WWDC 2019 that in April 2020, all iPad apps will be required to support multitasking.

The original announcement and discussion is in the first few minutes of "Modernizing Your App for iOS 13", and there's a (brief) announcement on their developer-news site as well.

bryanjclark
  • 6,247
  • 2
  • 35
  • 68
  • Setting UIRequiresFullScreen to true in the info file still works – thinklinux Sep 23 '20 at 21:16
  • 1
    @thinklinux correct! But Apple's said that they will stop allowing this during App Store Review. I don't think they've started enforcing it yet, though! – bryanjclark Sep 30 '20 at 17:00