flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: [1/2] git commit: [flex-sdk] [refs/heads/develop] - FIX FLEX-33861 Flex Incorrectly Scaling Down Application mutella test pass: tests/mobile/*
Date Sat, 02 Nov 2013 04:07:22 GMT

Minor concern re fullScreenWidth and fullScreenHeight as I believe the height doesn't include
system toolbars - not sure if that happens on iOS or not.

Looking at this:

It states:

Unfortunately devices often report the wrong dpi (notably for iOS displays). Capabilities.screenDPI
is actually a best guess based on other information, but it may also be wrong. For comparison,
you can get the original dpi reported by the operating system as follows:

var serverString:String = unescape(Capabilities.serverString);
var reportedDpi:Number = Number(serverString.split("&DP=", 2)[1]);

View raw message