The following issue was seen on simulator (for iPhone SE 2nd gen) at commit 0af116b1.
Scenario:
Expected behaviour: rotation to landscape screen
Observed behaviour: no rotation.
Continue: turn to portrait, then again to landscape. Now it rotates as expected.
Diff:
Resolved with commit ac861a0.
Root cause: call to [UIViewController attemptRotationToDeviceOrientation] was missing.
New behaviour:
After I exit the simulator from landscape mode, it still turns to portrait. But when I restart the application, it turns back to landscape. From now on the UI rotates as expected, and is in synch with the device orientation.