Thanks Ralph and Sean. I see where my expectations were wrong. — Scott
> On Feb 23, 2022, at 1:06 PM, Pi Digital via use-livecode > <[email protected]> wrote: > > Hi there Scott. > > https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/ > Layout Guides and Safe Areas > > That will explain the safe areas as defined by Apple and implemented in the > library. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 23 Feb 2022, at 20:29, scott--- via use-livecode >> <[email protected]> wrote: >> >> Hmm… I had never noticed that mobileOrientation() and >> mobileDeviceOrientation() are different functions [ it doesn’t help that the >> documentation for mobileOrientation() seems to mistakenly refer to >> mobileDeviceOrientation() ] but mobileOrientation() seems like it should, >> unlike mobileDeviceOrientation(), always be able to determine which side >> the notch is on. >> >> — >> Scott >> >> >>> On Feb 23, 2022, at 12:15 PM, scott--- via use-livecode >>> <[email protected]> wrote: >>> >>> I was updating a library to use the new iphoneSafeAreaInsets() for retuning >>> the inset of the iPhoneX notch. I was surprised to see that it reports an >>> inset on both left and right sides when in landscape even though the notch >>> is only on one side. I would have expected an iPhone in landscape to report >>> an inset on the bottom (for the home indicator, which it does report) and >>> on whichever side the notch was actually on. While this can usually be >>> figured out with mobileDeviceOrientation() (though not always) it seems >>> like an extra step in addition to just being inaccurate about one side. Am >>> I missing something or should this be a bug? >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email [email protected] >>> booth 1-360-734-4701 >>> ------------------------------------------------------ >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> >> _______________________________________________ >> 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 > _______________________________________________ > 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 _______________________________________________ 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
