Help Request - iPhone 6 or 7 users
Posted: Thu Dec 15, 2016 7:55 pm
*** UPDATE ****
New testing has proven that my iPhone 6 resolution is always correct for the zoom mode it is set to. I found this out by loading all of the screen captures into Art Studio and checking their pixel dimensions.
What is really happening is that smartBasic is drawing the grid spacing too large on my resolution test. But it may be a fault in xCode or iOS, rather than smart Basic. sB takes its screen size information from these two sources.
Thanks to the members who sent screen shots. I won't need any more of them. All screen captures had the correct resolution for the iPhone 6 in both Normal and Zoom mode. I will update my Apple Developer Bug Report.
I have a new Resolution Test that applies correction factors to the drawing spacing. The result is attached - a grid that perfectly fits my 1334 x 750 iPhone 6 screen.
******************
FIRST ANALYSIS, now proven incorrect:
I recently discovered that my iPhone 6 is not giving me the advertised screen resolution. I have generated a smart Basic Resolution Test that draws a measured grid on screen. On my phone, I should get 667 x 375 points. I get only 568 x 320, which is the screen size of the older 5s.
Here is the code for Resolution Test. I would appreciate it if you would download it, run it, take a screenshot and post it in a reply here. In your reply, please include the exact model so I can compare your phone's specs to what it actually displays.
I have a bug report active on the Apple Developer's site. Their techs and engineers want to know how widespread this problem is, so we would not only be performing a good service to the Apple community, we would find out if we are getting the full screen resolution that we paid for.
Thanks
New testing has proven that my iPhone 6 resolution is always correct for the zoom mode it is set to. I found this out by loading all of the screen captures into Art Studio and checking their pixel dimensions.
What is really happening is that smartBasic is drawing the grid spacing too large on my resolution test. But it may be a fault in xCode or iOS, rather than smart Basic. sB takes its screen size information from these two sources.
Thanks to the members who sent screen shots. I won't need any more of them. All screen captures had the correct resolution for the iPhone 6 in both Normal and Zoom mode. I will update my Apple Developer Bug Report.
I have a new Resolution Test that applies correction factors to the drawing spacing. The result is attached - a grid that perfectly fits my 1334 x 750 iPhone 6 screen.
******************
FIRST ANALYSIS, now proven incorrect:
I recently discovered that my iPhone 6 is not giving me the advertised screen resolution. I have generated a smart Basic Resolution Test that draws a measured grid on screen. On my phone, I should get 667 x 375 points. I get only 568 x 320, which is the screen size of the older 5s.
Here is the code for Resolution Test. I would appreciate it if you would download it, run it, take a screenshot and post it in a reply here. In your reply, please include the exact model so I can compare your phone's specs to what it actually displays.
Code: Select all
/*
Resolution Test
by rbytes
December 2016
Draws a numbered grid with 50-point
spacing, to demonstrate the
point resolution of the screen.
*/
SET TOOLBAR OFF
sw=SCREEN_WIDTH()
sh=SCREEN_HEIGHT()
'sw=667
'sh=375
rw=sw/1024 ! rh=sh/768 ' scaling to various screen sizes
cr$=CHR$(10)
GRAPHICS
GRAPHICS CLEAR 0,0,0
DRAW FONT SIZE 12
DRAW COLOR 1,1,1
FOR t=0 TO sw STEP 50
DRAW LINE t,0 TO t,sh
IF t=0 THEN
DRAW TEXT t AT t,0
ELSE
IF t=1000 THEN
DRAW TEXT t AT t-15,0
ELSE
DRAW TEXT t AT t-10,0
ENDIF
ENDIF
NEXT t
FOR u=0 TO sh STEP 50
DRAW LINE 0,u TO sw,u
DRAW TEXT u AT 0, u
NEXT u
DRAW LINE sw,0 TO sw, sh
DRAW LINE 0,sh TO sw,sh
a$="Width"&cr$
a$&=sw&cr$
a$&="Height"&cr$
a$&=sh
FIELD "size" TEXT a$ AT sw-110*rw,sh-150*rh SIZE 70*rw,100*rw ML RO
FIELD "size" FONT SIZE 16*rw
LOOP:
GET TOUCH 0 AS x,y
IF x<>-1 THEN END
SLOWDOWN
GOTO LOOP
END
Thanks