Hi all, > Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode > <[email protected]>: > > 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 [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
