Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.1.X, 2017.2.X, 2017.3.X

Votes

0

Found in

Issue ID

942401

Regression

No

[iOS] When disabling current autorotation orientation via Screen.autorotateTo*, screen does not rotate away

Mobile

-

Reproduction steps:
1. Open attached project and build for iOS
2. The project toggles autorotation to portrait and portraitUpsideDown orientations setting each 5 seconds.
3. Hold device in portrait orientation.
4. During a 5 second window when portrait orientations are disabled (look for a message in the logs):
4.1. Notice that the screen orientation does not change -- the screen stays at portrait even though it's now disabled.
4.2. Rotate the device to landscape. Notice that the screen orientation changes to landscape.
4.3. Rotate back to portrait. Notice that the screen does not rotate.

Expected behavior:
The device should rotate to landscape whenever portrait orientation is disabled and rotate back whenever it's enabled.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.