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

panagiotis merakos merakosp at gmail.com
Sat Jun 23 05:44:08 EDT 2018


Hi Brahmanathaswami,

I think I have found the culprit. I don’t have a Plus device to check, but
the differences you see between the iPhone 7 Plus device and simulator is
probably because you have enabled the "Zoomed Mode" in the device.

If you have "Zoomed Mode" enabled in the iPhone 6+/7+/8+ device, it reports
the screenrect of iPhone 6/7/8 (this is how Zoomed Mode works)

1. Launch the iOS Settings app.
2. Scroll down and select Display & Brightness.
3. Select the View option under the Display Zoom section.
4. If you have "Zoomed mode", change this to "Standard mode".
5. Test again and you should now see the expected screenrect (0,0,414,736)

Does that fix the problem?

Best,
Panos
—

On Sat, Jun 23, 2018 at 4:36 AM, J. Landman Gay via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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
>>
>
>
>
>
> _______________________________________________
> 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