Re: correct iphoneSafeAreaInsets in iPad simulator?

2022-12-01 Thread Klaus major-k via use-livecode
Hi Ralph, > Am 30.11.2022 um 22:37 schrieb Ralph DiMola via use-livecode > : > > I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator > using iphoneSafeAreaInsets(). One thing I did notice that when you change > rotation the resizestack handler is n

RE: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator using iphoneSafeAreaInsets(). One thing I did notice that when you change rotation the resizestack handler is not firing. However it does work as expected on the device. LC or simulator bug? Other than that, I have

RE: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
Klaus, I see what you mean. I had my resizing SW using a table that I just kept adding to as new models were released. I gave up on that after the iPhone 14 pro was released. I now use iphoneSafeAreaInsets(). It seems to work OK. I will do some testing of one of my apps on the iPad Pro (11-inch

correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Klaus major-k via use-livecode
Sorry, here the link that does not automatically compresses an downloads the two images -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de

Re: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Klaus major-k via use-livecode
gt; > here two screenshots from my app in the Apple iPad simulator: > <https://www.dropbox.com/sh/x4165mhvr61ldsg/AADEsPdI_rbtJHzCVOMF6woMa?dl=1> > > Same app***, same scripting, same "resizestack" handler taking > iphoneSafeAreaInsets() > into account and reposi

correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Klaus major-k via use-livecode
Hi friends, here two screenshots from my app in the Apple iPad simulator: <https://www.dropbox.com/sh/x4165mhvr61ldsg/AADEsPdI_rbtJHzCVOMF6woMa?dl=1> Same app***, same scripting, same "resizestack" handler taking iphoneSafeAreaInsets() into account and reposition objects accor

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 11.08.2022 um 20:13 schrieb J. Landman Gay via use-livecode > : > > On 8/11/22 7:44 AM, Klaus major-k via use-livecode wrote: >> FYI, iPhoneSafeAreaInsets() returns EMPTY on Android. > > It looks like it's for iOS only, Android isn't listed in the

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread J. Landman Gay via use-livecode
On 8/11/22 7:44 AM, Klaus major-k via use-livecode wrote: FYI, iPhoneSafeAreaInsets() returns EMPTY on Android. It looks like it's for iOS only, Android isn't listed in the dictionary reference. You'll probably need to use the working screenrect on Android. -- Jacqueline Landman Gay

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread J. Landman Gay via use-livecode
wrote: iPhoneSafeAreaInsets() returns EMPTY on Android ___ 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

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
topped 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 > > iPhoneSafeAreaInsets() returns EMPTY on Android Best Kl

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Bob Sneidar via use-livecode
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 > wrote: > > iPhoneSafeAreaInsets() returns EMPT

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi all, > Am 11.08.2022 um 14:44 schrieb Klaus major-k via use-livecode > : > Hi all, >> Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode >> : >> Hi friends, >> quick question, cannot test it myself in the moment. >> Will -> iPhoneSa

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi all, > Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode > : > > 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? &g

iPhoneSafeAreaInsets() and Android

2022-07-15 Thread Klaus major-k via use-livecode
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 &qu

Re: iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
() 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 >>> wrote: >>> >

Re: iphoneSafeAreaInsets()

2022-02-23 Thread Pi Digital via use-livecode
gt; 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

RE: iphoneSafeAreaInsets()

2022-02-23 Thread Ralph DiMola via use-livecode
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of scott--- via use-livecode Sent: Wednesday, February 23, 2022 3:16 PM To: How to use LiveCode Cc: sc...@elementarysoftware.com Subject: iphoneSafeAreaInsets() I was updating a library to use the new iphoneSafeA

Re: iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
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 > wrote: > > I was updating a library to use the new iphoneSafeAreaInsets() for retuning > the inset of the iPhoneX notch. I was s

iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
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