Skip to main content
breathedev
Participant
May 24, 2015
Question

cameraRoll.browseForImage() orientation issue iOS 8 AIR 17

  • May 24, 2015
  • 1 reply
  • 399 views

I have a simple app that lets you choose a photo from your camera roll

descriptor file is as follows:

<aspectRatio>portrait</aspectRatio>

<autoOrients>false</autoOrients>

Code is as follows:

var cameraRoll:CameraRoll = new CameraRoll();

cameraRoll.addEventListener(Event.CANCEL, onCancelHandler, false, 0, true);

cameraRoll.addEventListener(MediaEvent.SELECT, onPhoto, false, 0, true);

cameraRoll.browseForImage();

The problem is that my app is portrait and is NOT supposed to auto-orient, but if while browsing I rotate the device and either 1) hit cancel or 2) select an image, my app is rotated to the stage.deviceOrientation of when #1 or #2 happened. and stage.orientation still reads as StageOrientation.DEFAULT.

Anyone experience this as well?

This topic has been closed for replies.

1 reply

breathedev
Participant
May 24, 2015

added to the adobe bug database: Bug #3993768

Bug 3993768

Bug 3993768

Adobe Employee
May 25, 2015

Thanks for raising the Issue.

We are able to reproduce the issue and investigating it further.

Regards,

Adobe AIR Team