Fixed Interface Orientation

Camera apps commonly use portrait-only orientation specifically to prevent the interface from rotating. Otherwise, toolbars, the preview aspect ratio, and camera frames all need to be reorganized just to undo the rotation. On the iPhone Duo inner display, portrait-only no longer prevents rotation. Please provide a UIRequiresFixedInterfaceOrientation key! :-)

Answered by Frameworks Engineer in 906402022

To help with managing the rotation of their camera preview and photos across all the different poses and orientations of iPhone Duo, we recommend adopting AVCaptureDevice.RotationCoordinator.

To help with managing the rotation of their camera preview and photos across all the different poses and orientations of iPhone Duo, we recommend adopting AVCaptureDevice.RotationCoordinator.

With due respect, this does not address the requirement for the interface itself to remain fixed relative to the device, no matter how the device is oriented.

For example, when the viewport is taller than it is wide, I place the toolbars horizontally at the top and bottom, and I want them to always stay there from then on. But without a fixed interface orientation, I have to move those same toolbars vertically to the sides just to maintain the same physical layout when the device is rotated to landscape, creating a visual jump in the process.

Just to be clear, in the end I am relaying out the entire interface only to recreate the layout I would have had if the interface had remained fixed relative to the device in the first place.

Fixed Interface Orientation
 
 
Q