cameraRoll.browseForImage() orientation issue iOS 8 AIR 17
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?
