iPhoneSafeAreaInsets() and Android

J. Landman Gay jacque at hyperactivesw.com
Thu Aug 11 12:22:53 EDT 2022


Actually some Android phones have notches to imitate iPhones when Apple 
first introduced that. It wasn't very popular and most Android phones now 
use punch holes, but those also take up a bit of space, though not much.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 11, 2022 10:29:29 AM Bob Sneidar via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> It seems to me, someone who has done zero mobile development, that this 
> function has no meaning on an android, and should therefore return empty to 
> avoid unanticipated runtime errors.
>
> There should be however a function to get the screen rects of an android. 
> Does the effective working screenrect do it for you?
>
> I see that your goal is to try and avoid platform checks, but iOS and 
> Android seem to be such diverse OS platforms that checks are unavoidable. 
> There are a TON of commands and functions beginning with iPhone. I stopped 
> counting at 30 and I wasn't half way through. If all of these functions are 
> to equivalent values for the Android OS, we'd be waiting 5 years for the 
> enhancements.
>
> Just my ignorant 2¢
>
> Bob S
>
>
>> On Aug 11, 2022, at 05:44 , Klaus major-k via use-livecode 
>> <use-livecode at lists.runrev.com> wrote:
>>
>> iPhoneSafeAreaInsets() returns EMPTY on Android
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list