Allowed Rotation / Orientation

testAllowPortraitUpsideDown testAllowPortrait testAllowLandscapeLeft testAllowLandscapeRight testAllowAll rotations testAllowAllWithDegrees

Rotation / Orientation

testRotatePortrait testRotatePortraitUpsideDown testRotateLandscapeLeft testRotateLandscapeRight

Legacy setAllowedRotations API

Set allowed rotations to portrait. Will not auto-rotate the screen. Set allowed rotations to landscape right. Will not auto-rotate the screen. Set allowed rotations to all orientations. Set allowed rotations to horizontal rotations. Will not auto-rotate the screen. Set allowed rotations to vertical rotations. Will not auto-rotate the screen.

Legacy steroids.view.rotateTo API

Note: these will not work if the target rotation is not among allowed rotations. Rotate screen to landscape left. Rotate screen to upside-down portrait. Rotate screen to portrait. Rotates screen to landscape right.