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