Highlighted

stage size with -platformsdk

New Here ,
Apr 02, 2016

Copy link to clipboard

Copied

I create a empty mobile project and just add an enter frame event to trace stage size,

then debug at iphone 6 plus,(physical device)

without -platformsdk,air gives stage size 1242x2208,that is correct.

when i give the -platformsdk value,air gives stage size 828x1472,

and both stage size returns different dpi.

I use air 20 and iOS sdk 9.3

is it  a bug of air? and any one who knows how to get the  1242x2208 with -platformsdk ?

TOPICS
Performance issues

Views

211

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

stage size with -platformsdk

New Here ,
Apr 02, 2016

Copy link to clipboard

Copied

I create a empty mobile project and just add an enter frame event to trace stage size,

then debug at iphone 6 plus,(physical device)

without -platformsdk,air gives stage size 1242x2208,that is correct.

when i give the -platformsdk value,air gives stage size 828x1472,

and both stage size returns different dpi.

I use air 20 and iOS sdk 9.3

is it  a bug of air? and any one who knows how to get the  1242x2208 with -platformsdk ?

TOPICS
Performance issues

Views

212

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
Apr 02, 2016 0
New Here ,
Apr 03, 2016

Copy link to clipboard

Copied

i have solved the problem

use sdk path like this

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk

and not like this

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk

i hope it could help others have the same problem

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...
Apr 03, 2016 0