Skip to main content
Oleg Korchagin
Inspiring
September 17, 2018
Question

AIR 31 // iOS 12.0.0 // stage.setOrientation don't change device orientation

  • September 17, 2018
  • 0 replies
  • 549 views

Hi,

On iOS 11.* everything was OK, but as always something broke when iOS updating.

This code:

stage.autoOrients = false

stage.setOrientation(StageOrientation.ROTATED_RIGHT)

Expected Result:

Stage go to landscape mode and iOS elements (device) go to landscape.

Actual Result:

The stage switches to landscape mode, but all iOS elements remains in portrait orientation.

Environment:

iPhone X, iOS 12.0.0

AIR 31.0.0.96

Animate CC 18.0.2 Windows 10 x64

Please help!

How i can rotate device elements programmatically? Is it AIR bug? Is it iOS bug?

This topic has been closed for replies.