interfaceOrientations
The preferred interface orientations for the scene.
Declaration
var interfaceOrientations: UIInterfaceOrientationMask? { get set }Discussion
If you specify this value, the system automatically chooses an orientation from the intersection of these preferred orientations and the supported orientations.