8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

J. Landman Gay jacque at hyperactivesw.com
Fri Jun 22 23:36:12 EDT 2018


Do you get the same results if you get the rect of the card?

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 22, 2018 9:25:43 PM Sannyasin Brahmanathaswami via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Never mind.. I had to run (since I did a fresh install of Xcode)
>
> sudo xcode-select -s  /Applications/Xcode.app
>
> But now my Simulator works!  So we back the screenRect problem
>
> Wow... one step close to the gremlin (hehe)
>
> And, as Panos says it has nothing to do with 11.4 ... its deeper that than
>
> 1) set the fullScreenMode of this stack to "showAll"
>        -- Simulator I get a screenrect of 0,0,414,736
> -- Build test/target to actually phone 7 plus ...
> 	answer screenRect returns 0,0,375,667
>
> 2) With exactFit
> -- Simulator I get a screenrect of 0,0,1242,2208
> -- but on the actual phone it get
>            0,0,1125,2001...which is a factor 3x(0,0,375,667)
>
> So the difference is  (obviously):
>
> Scotland does not have an iPhone 7Plus, they were using a Simulator
> But here, using the actual device, it report a screenrect different then 
> the actual device.
>
> Hmmm. Is it  LiveCode problem, or an Apple/Xcode problem?
>
> Perhaps it should file a bug... How many other devices are not registering 
> their actual screenRect? Can be a "disaster" for attempts at  responsive 
> design.
>
> BR
>
>
> ?On 6/22/18, 3:38 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami 
> via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of 
> use-livecode at lists.runrev.com> wrote:
>
>    That would go good news. But
>
>    LC 8.1.10
>    Xcode 9.3
>    Build for iPod,IPhone,iPad.  8.0 or later
>
>    (can you make the error dialog box so we can copy it to the clipboard?)
>
>
>
> _______________________________________________
> 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