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

前端 未结 4 511
悲&欢浪女
悲&欢浪女 2020-11-27 16:17

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 i

相关标签:
4条回答
  • 2020-11-27 16:46

    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

    0 讨论(0)
  • 2020-11-27 16:48

    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.

    0 讨论(0)
  • 2020-11-27 17:01

    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.

    0 讨论(0)
  • 2020-11-27 17:12

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

    0 讨论(0)
提交回复
热议问题