Screen Orientation
Applications should support landscape and portrait orientations.
Impact
Some people have a phone or tablet mounted to their wheelchair in a fixed orientation. If the orientation cannot be supported, the app becomes unusable for this person.
Confirmation
- Rotate the device from portrait mode to landscape mode
- One of the following will happen:
- Inaccessible: It will stay in portrait mode and not rotate to landscape mode.
- Accessible: It will rotate from portrait mode to landscape mode.
How to Fix
UIKit
In Xcode, go to the General
tab for the application's target. Find the Deployment Info
section and ensure that Device Orientation
has Portrait and at least one variation of Landscape selected.
SwiftUI
This rule is not currently supported with SwiftUI views.