iPhoneSafeAreaInsets() and Android

Klaus major-k klaus at major-k.de
Fri Jul 15 07:14:50 EDT 2022


Hi friends,

quick question, cannot test it myself in the moment.

Will -> iPhoneSafeAreaInsets() 
a. work or 
b. throw an error when being used on Android?

If a. I presume it will return "the screenrect" without any "notches".
Does it?

If b. then I will to check "if the platform = "iphone"..."

Thanks for any quick answer!


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list