UIDevice
Undocumented
-
Returns the supported interface orientations based on the device.
Declaration
Swift
public func getDeviceSupportedInterfaceOrientations() -> UIInterfaceOrientationMaskReturn Value
iPads and iPhone ’+’ s return
.AllButUpsideDown, other iPhones return.Portrait.
View on GitHub
UIDevice Extension Reference