The display modes that can be associated with the screen.
SDKs
- iOS 3.2+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var availableModes: [UIScreen Mode] { get }
Discussion
The array contains one or more UIScreen objects, each of which represents a display mode supported by the screen.