Function

UIDeviceOrientationIsFlat

Returns a Boolean value indicating whether the specified orientation is face up or face down.

Declaration

BOOL UIDeviceOrientationIsFlat(UIDeviceOrientation orientation);

See Also

Determining the Current Orientation

UIDeviceOrientationIsPortrait

Returns a Boolean value indicating whether the device is in a portrait orientation.

UIDeviceOrientationIsLandscape

Returns a Boolean value indicating whether the device is in a landscape orientation.

UIDeviceOrientationIsValidInterfaceOrientation

Returns a Boolean value indicating whether the specified orientation is one of the portrait or landscape orientations.