iPhone X Screen Dimensions and the screenRect function

panagiotis merakos merakosp at gmail.com
Sun Nov 19 13:29:37 EST 2017


Yes, there is an enhancement request about it:

http://quality.livecode.com/show_bug.cgi?id=20641

On Nov 19, 2017 18:22, "hlowe via use-livecode" <
use-livecode at lists.runrev.com> wrote:

I have been researching this issue and it does appear (as suggested by the
prior respondent) that, in the absence of an iPhone X sized splash image,
iOS default to a compatibility mode to accommodate older apps. One
consequence of this is that iOS returns the 'older' screen size to
screenRect().

There are a number of helpful sources explaining how to approach developing
for the iPhone X screen:

https://developer.apple.com/ios/human-interface-
guidelines/overview/iphone-x/

https://infinum.co/the-capsized-eight/how-to-prepare-mobile-app-new-iPhone-x

Adapting an app for the iPhone X using the "safe area" approach is
problematic if one cannot get the correct screenRect. I support various
screen sizes and orientations in my apps by directly redrawing the UI rather
that using the FullScreenMode property. Cannot do this without the correct
screen rect.

Is adding an iPhone X splash image in the Standalone Application Setting
dialog in the works?

Thanks,

Henry

Ascriva Health Informatics
https://www.ascriva.com





--
Sent from: http://runtime-revolution.278305.n4.nabble.com/
Revolution-User-f278306.html

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list