shouldAutorotate
A Boolean value that indicates whether the view controller’s contents should autorotate.
Declaration
var shouldAutorotate: Bool { get }Return Value
true if the content should rotate, otherwise false. This method returns true by default.