iphoneDeviceModel lookup library

2021-10-04 Thread Andreas Bergendal via use-livecode
Status update: I've updated the library with a minor correction (two iPhone 11 versions with notch that weren't included in the script constants). I've also improved the demo stack a lot, so that it now works in the Simulator, if you indicate which device you will simulate, before deploying.

Re: iphoneDeviceModel lookup library

2021-10-03 Thread Mark Smith via use-livecode
Thanks Andreas. Looking forward to trying it out. Mark Sent from my iPhone > On Oct 3, 2021, at 11:44 AM, Andreas Bergendal via use-livecode > wrote: > > Hi guys, > > This is for those of you who develop for iOS. We all know the challenge of > getting the layout right for various iOS

iphoneDeviceModel lookup library

2021-10-03 Thread Andreas Bergendal via use-livecode
Hi guys, This is for those of you who develop for iOS. We all know the challenge of getting the layout right for various iOS screens. ”The notch” (camera area at the top) is especially annoying, since there’s no easy way of knowing if the user’s device has one or not, and how many pixels it is