UIWindow beginDisablingInterfaceAutorotation and endDisablingInterfaceAutorotation should be public

Originator:michaelhochs
Number:rdar://30076125 Date Originated:18-Jan-2017 06:20 PM
Status:Open Resolved:
Product:iOS Product Version:10.2
Classification:Enhancement Reproducible:Always
 
When in an interactive transition while rotating the device, UINavigationController has disabled interface rotation and rotates only after the interactive transition ends. As far as I can tell, this is done through `-[UIWindow beginDisablingInterfaceAutorotation]` and `-[UIWindow endDisablingInterfaceAutorotation]`. These methods should be public as they would help a lot when dealing with custom container view controllers that have a similar look than `UINavigationController`. This is not only about the fact that it’s hard to deal with gestures while the device is rotating, but it would also benefit the user experience if container view controllers could prevent rotation while the user is interactively doing something to the views.

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!