How to accommodate for the next iPhones totally different screen resolution?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-06-07T19:10:29Z
Indexed on
2010/06/07
19:22 UTC
Read the original article
Hit count: 193
iphone
This is a programming question! Read on before you vote to close!
According to Gizmodo, the next iPhone will have a new screen resolution:
The 3.5-inch screen has a resolution of 960?×?640 pixels
This little detail affects our apps in a heavy way. Most of the demo apps on the net have one thing in common: They position views in the believe that the screen has a fixed size of 320 x 480 pixels. So what most -if not all- developers do is: They designed everything in such a way, that a touchable area is -for example- 50 x 50 pixels big. Just enough to tap it. Things have been positioned relative to the upper left, to reach a specific position on screen - let's say the center, or somewhere at the bottom.
So the big question is: How will the developers compensate their layout and graphics? Are there already solutions which can be used to calculate coordinates and sizes in a normalized manner, which then appear to be exactly the same when viewing them on a screen of any resolution, assuming at least that the aspect ration won't change?
This is community wiki. Just add anything that you think is relevant to this huge problem (constant screen res was one of the main reasons why I didn't go for Android!!).
© Stack Overflow or respective owner