Allow programmatic disabling of rotation when app is full screen

Originator:kevinschlei
Number:rdar://24029110 Date Originated:12/31/2015
Status:Open Resolved:
Product:iOS Product Version:9
Classification: Reproducible:Always
 
There are some cases where one view controller should be able to disallow rotation. Specifically, when that view controller uses the gyroscope for user interaction.

When opting into split-screen multitasking, that ability is taken away. It should be made available when the app is fullscreen / not sharing with any other apps.

Un-rotating a view as a workaround is not sufficient. During the rotation animation user touch interaction is disabled, and again, there are cases where orientation should stay locked while a user moves the device for motion interaction.

The 'App Requires Fullscreen' option is no good, since it means we cannot participate in split-screen multitasking.

Asking the user to lock the entire device for one view controller only is a poor, clunky workaround that interferes with all other apps.

Steps to Reproduce:
1. Make an app that does not 'Require Fullscreen.' Now you cannot prevent rotation.

Expected Results:
Have some way to prevent rotation.

Actual Results:
No way to prevent rotation.

Notes:
I understand that rotation must be enabled when sharing the screen with other apps. However when an app is fullscreen, it should retain the ability to prevent rotation

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!