Skip to main content
Participating Frequently
October 5, 2017
Question

CameraRollBrowseOptions.origin : Units problem on iOS

  • October 5, 2017
  • 0 replies
  • 207 views

Hi,

The rectangle we set as origin to place the native popOver of photo gallery (CameraRollBrowseOptions) as not same units.

The rectangle I set is relative to my stage, in px, usually myButtonSprite.getRect(stage) but the result rectangle is doubled.

Native side seems to need "pt" unit (screen is 1024x768 for iPad retina, whatever pixel resolution), but AS3 side is pixel-based (2048*1536)

May you confirm it's anormal ?

If point-based origin is the desired ans definitive process, how can i have the screen size in "native unit" ?

This topic has been closed for replies.