TCGBWebViewOrientation Constants Reference
Declared in | TCGBWebViewConfiguration.h |
---|
TCGBWebViewOrientation
Configure webview’s orientation. It can be set by multiple value. For example, “TCGBWebViewOrientationPortrait|TCGBWebViewOrientationPortraitUpsideDown” is available. TCGBWebView process this value using bit mask operation. * @see orientationMask
Definition
typedef NS_ENUM(NSUInteger, TCGBWebViewOrientation ) {
TCGBWebViewOrientationUnspecified = 0,
TCGBWebViewOrientationPortrait = 1,
TCGBWebViewOrientationPortraitUpsideDown = 2,
TCGBWebViewOrientationLandscapeRight = 4,
TCGBWebViewOrientationLandscapeLeft = 8,
};
Constants
TCGBWebViewOrientationUnspecified
-
Unspecified Default value, it is set by application’s orientation. 0x0000, 0
Declared In
TCGBWebViewConfiguration.h
. TCGBWebViewOrientationPortrait
-
Portrait Default value, it is set by application’s orientation. 0x0001, 1
Declared In
TCGBWebViewConfiguration.h
. TCGBWebViewOrientationPortraitUpsideDown
-
Portrait UpsideDown Default value, it is set by application’s orientation. 0x0010, 2
Declared In
TCGBWebViewConfiguration.h
. TCGBWebViewOrientationLandscapeRight
-
Landscape Right Default value, it is set by application’s orientation. 0x0100, 4
Declared In
TCGBWebViewConfiguration.h
. TCGBWebViewOrientationLandscapeLeft
-
Landscape Left Default value, it is set by application’s orientation. 0x1000, 8
Declared In
TCGBWebViewConfiguration.h
.
Declared In
TCGBWebViewConfiguration.h