Highlighted

cameraRoll.browseForImage() orientation issue iOS 8 AIR 17

New Here ,
May 24, 2015

Copy link to clipboard

Copied

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?

TOPICS
Performance issues

Views

251

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

cameraRoll.browseForImage() orientation issue iOS 8 AIR 17

New Here ,
May 24, 2015

Copy link to clipboard

Copied

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?

TOPICS
Performance issues

Views

252

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 24, 2015 0
New Here ,
May 24, 2015

Copy link to clipboard

Copied

added to the adobe bug database: Bug #3993768

Bug 3993768

Bug 3993768

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 24, 2015 0
Adobe Employee ,
May 24, 2015

Copy link to clipboard

Copied

Thanks for raising the Issue.

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

Regards,

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 24, 2015 0