iossplitviewsplit-screen-multitasking

Is it possible to programmatically force an iOS app in split view / slide over to go full screen in ios9?


I'm implementing an app that needs a camera preview using AVCaptureSession. Unfortunately iOS9 will interrupt the AVCaptureSession as soon as Split View or Slide Over is on. The system allows to detect such an interruption (see: https://stackoverflow.com/a/33086527/1896336).

The good thing is that we can warn the user to go Full Screen but I was actually wondering if we could programmatically set the app to go Full Screen when the user taps a "yes take me back to full screen" button ?


Solution

  • No. If you don't like this behavior, don't use iPad Multitasking (opt out by insisting on full screen in the Info.plist).