Randy's code gives me a screen rect of 0,0,375,667 on an iOS 8 iPhone 6 simulator. Those are the correct values (remember for the iPhone 6 and 6+ you need to multiply by 2x and 3x respectively). The code also works accurately on a 4s and 5s simulator.
Thanks Randy! Gerry On Tue Nov 11 2014 at 5:03:48 AM Randy Hengst <iowahen...@mac.com> wrote: > Xcode 5.1, OSX 10.8.5, LC6.5, iOS 7.1 Simulator... this code in StartUp > shows correct dimensions... I don't have iOS 8 simulator on this mac. > > > on startUp > > answer (word 1 of the machine) > > iphoneSetAllowedOrientations "landscape left,landscape right" > --portrait,portrait upside down,landscape left,landscape right > > switch (word 1 of the machine) > case "iPod" > case "iPhone" > set the fullscreenmode of this stack to "exactFit" > --"letterbox"--"noScale" -- "exactFit" --"letterbox" --empty -- > --"exactfit" --"showAll" > break > end switch > > answer the ScreenRect > end startUp > > > On Nov 10, 2014, at 11:35 AM, John Dixon <dixo...@hotmail.co.uk> wrote: > > > > > > >> Subject: Re: which iPhone... > >> From: jac...@hyperactivesw.com > >> Date: Mon, 10 Nov 2014 11:12:32 -0600 > >> To: use-livecode@lists.runrev.com > >> > >> Does it work if you omit "working" and just ask for the screenrect? > >> > > Hi Jacque... > > > > No it doesn't... > > > > Dixie > > > > _______________________________________________ > > 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-livecode > > _______________________________________________ > 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-livecode > _______________________________________________ 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-livecode