Skip to main content
Inspiring
January 31, 2015
Question

AIR SDK 16 + iOS 64-bit Orientation problem

  • January 31, 2015
  • 11 replies
  • 6819 views

Hey Devs and support,

we have recently faced a problem which seems to be a bug, let me explain what happens as simple as I can. below I explain one situation that the problem occurs but it does happen in different scenarios that we tested, but do the following and you'll see the problem for yourself...

if you are building an adobe air app which is in landscape mode and auto rotate is false which means that the air app should always stay in landscape mode. now, in the app, you have an air native extension which works with Camera and inside the iOS extension, you are setting the app delegate to always portrait with no auto rotation. ok?

the expected behavior (which works perfectly fine with lower air SDK versions and the problem is with iOS 64-bit and AIR 16 only) is that when you start your camera extension, the camera view should be in portrait mode. this is ok till here, but as soon as you close the extension to return to your flash app, you can see that the stage alignment is totally messed up! although you have set the flash app to stay landscape with no rotations, when you get back from the extension, it does force the flash side to portrait too!

it feels like the app delegate settings in the extension are somehow over ruling the settings of the air side. everything used to work fine for years but now that we are compiling against 64-bit, we are facing this problem which seems to be a problem either on iOS side, or maybe from Air SDK 16 side...

please do let me know if I was able to explain the problem understandable? if not, maybe I can create a sample project reflecting the problem and post the download link here so you guys can help better...?

chris.campbell Please advice,

Regards,

Hadi

This topic has been closed for replies.

11 replies

February 2, 2015

I also get I think similar orientation issue. My app operates in landscape mode. When I pack the app by using air16 the splash screen while app booting starts unexpectedly rotating to portrait and back to landscape. In air15 I have no that issue.

Adobe Employee
February 7, 2015

Hi,

We have fixed related issues. Could you please try latest AIR SDK and share your feedback?

Thanks

Govinda

opamama
Participant
February 8, 2015

Hi Govinda,

which version has the fix? I tried 272 and the problem is still there?

Best,

Philip