iPhone X Screen Dimensions and the screenRect function
hlowe
hlowe at me.com
Sun Nov 19 13:21:45 EST 2017
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
More information about the use-livecode
mailing list