Enumeration: UIInterfaceOrientationMask
Overview
These constants are mask bits for specifying a view controller’s supported interface orientations.
Constant Summary
- UIInterfaceOrientationMaskPortrait
The view controller supports a portrait interface orientation.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskLandscapeLeft
The view controller supports a landscape-left interface orientation.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskLandscapeRight
The view controller supports a landscape-right interface orientation.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskPortraitUpsideDown
The view controller supports an upside-down portrait interface orientation.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskLandscape
The view controller supports both landscape-left and landscape-right interface orientation.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskAll
The view controller supports all interface orientations.available in ios 6.0 and later.declared in uiapplication.h.
- UIInterfaceOrientationMaskAllButUpsideDown
The view controller supports all but the upside-down portrait interface orientation.available in ios 6.0 and later.declared in uiapplication.h.