Is it possible to opt your iPad app out of multitasking on iOS 9

谁说我不能喝 提交于 2019-11-26 20:15:05
Sega-Zero

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

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.

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: ...

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 same

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!