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

Randy Hengst iowahengst at mac.com
Mon Jun 18 10:19:31 EDT 2018


Hi BR,

The iPhone 6 screen is the same size as the 7. I load a splash screen at 750x1134.

be well,
randy
-----
> On Jun 18, 2018, at 9:05 AM, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Well, the problem is the SA builder in 8.1.10 does not has a "slot" for iPhone 7+
> 
> I wonder if I can add it after the SA is built...
> 
> I will definitely check out your stack.
> 
> BR 
> 
> 
> 
> 
> On 6/17/18, 6:28 PM, "use-livecode on behalf of Brian Milby via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
> 
>    For iOS, you must have a splash screen image for every native resolution
>    that you need to access.  If you don't have a 7+ splash, then you won't get
>    a true 7+ rect.  What happens is that automatic scaling kicks in at the
>    device level, so your stack only gets one of the splash images sizes.  So,
>    the app is telling the phone what resolutions it supports via those splash
>    screens and then the OS is adjusting to ensure that the full screen gets
>    used.
> 
>    You can download my mobileProfile demo stack from the forum.  It uses
>    profiles and GM to take care of resize when device rotates.  You can do it
>    without profiles/GM, but it would at least let you see how it can work.
> 
>    http://forums.livecode.com/viewtopic.php?f=7&t=30018
> 
>    One note is that GM/PM both work on mobile now without having to manually
>    include any code (common library didn't get included when the post was
>    written).
> 
>    I have not looked at this code in a while though.
> 
>    Thanks,
>    Brian
> 
>    On Sun, Jun 17, 2018 at 10:03 PM, Sannyasin Brahmanathaswami via
>    use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> [my early post in pending due to length. I put the stack script in it.
>> Better to give the stack}
>> 
>> Hmm. Trying to a little responsive design (works on any device/mobile
>> screen size)
>> 
>> 1) Make a very stack with a widget "body" as browser that fill the whole
>> screen but for 50 at the bottom
>> 2) Fill the whole screen -50 at the bottom for a navigation/tool  - group
>> "footer"
>> 
>> But we the need to hide the group footer when they turn in landscape.
>> (for view full screen video)
>> And show it again when when orientationChanges to Portrait.
>> 
>> Just winging it, first time try to do this, no doubt all my methods need a
>> lot helps,  (missing the proper way to use resize and the browser widget
>> does not turn)
>> 
>> But, first problem :
>> 
>> I get a screenRect 0,0,375,667 on an iPhone 7+ and there is no way I can
>> add 7+ screen…
>> 
>> Thanks, Apple!  (can't report screenrect from the hardware) They depend on
>> the splash screens, so I been told.
>> 
>> What to do?
>> 
>> And, all of the code in the stack script
>> 
>> Available here (39k)
>> 
>> Go stack url "http://wiki.hindu.org/uploads/BrowserLandscapeTest.livecode"
>> 
>> Brahmanathaswami
>> 
>> PS. If one can tell me where to "resize" message. … I have been staying
>> away from that for years!
>> 
>> 
>> _______________________________________________
>> 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
>    _______________________________________________
>    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
> 
> _______________________________________________
> 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