Hi all,

> Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> 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!

FYI, iPhoneSafeAreaInsets() returns EMPTY on Android.
Will file an enhancement request that is will return at least the screenrect on 
Android,
so there is no need for a PLATFORM check. 

We already need too much of them. 8-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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

Reply via email to