Skip to main content
Participating Frequently
December 14, 2016
Question

Landscape rotation on iOS 10.1

  • December 14, 2016
  • 11 replies
  • 4824 views

Since my bug submission fails all the time (good way to limit the backlog, guys, really...)

Problem Description:

When running an AIR app in landscape only mode, with autoOrients sets to true, on an iPhone, the launchimage will be oriented portrait mode - which is normal - then the app will rotate and the stage won't be able to detect touch inputs on the right part of the screen (nothing after the portrait width)

If you reorient the device, the touch inputs will work again. But if you dare to scroll down the Control Center or the Notification Center, the whole stage will be displaced until you reorient the device again...

Steps to Reproduce:

Create a simple project with AIR 24 beta, and iOS SDK 10.1, set the app.xml to landscape mode, autorients true and fullscreen.

Any Workarounds:

Set the orientation to "any", autoOrients to false, set orientation to landscape at runtime, wait for the stage to be sized correctly (width > height) and then use the accelerometer to reorient the stage when needed.

Of course, this is very annoying. I'm not even sure Apple won't reject the app because the NC and CC are showing left and right instead of up and down. But at least, the app is working as expected with the workaround.

This topic has been closed for replies.

11 replies

Anki_AG_
Adobe Employee
Adobe Employee
December 14, 2016

Thank you for reporting the issue. While we are investigating the issue, could you please try out AIR SDK 24 from Download Adobe AIR SDK  and let us know the behavior.

Thanks,

Ankit | Adobe AIR Engineering

Calibrae_Author
Participating Frequently
December 14, 2016

The first thing I notice is that you still have not replaced the ld64 executable...

Seriously.

Anki_AG_
Adobe Employee
Adobe Employee
December 14, 2016

We are currently using 253.3.  We will be updating them in the upcoming release.

Thanks,

Ankit | Adobe AIR Engineering