iPhoneSafeAreaInsets() and Android
Klaus major-k
klaus at major-k.de
Thu Aug 11 08:48:34 EDT 2022
Hi all,
> Am 11.08.2022 um 14:44 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> Hi all,
>> Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode <use-livecode at 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.
and done: <https://quality.livecode.com/show_bug.cgi?id=23872>
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