iOS Question Best practice for different screen resolutions ?

wl

Well-Known Member
Licensed User
Longtime User
The amount of possible screen resolutions for an iPad/iPhone device is very large.

I would like to be able to design an application that could run (and seems nice) on a large amount of screen resolutions.

What would be the best practice ? For a large resolutions every control would fit on a single page, for small resolutions I would need different pages. I was looking into using a scrollview to cope with this (so I need to design a single page on different resolutions) but is this possible all in design time ?

Thanks !
 

wl

Well-Known Member
Licensed User
Longtime User
I currently have a scrollview containing 2 panels (left and right)
On both panels there are controls using anchors (right, left, both)

When the page resizes, the scrollview is resized and the panels are resized.

However, the anchors of the controls on the panels does not seem to be honored.

eg: a label on a panel anchored to the RIGHT hand side of the panel is not repositioned when the page -> scrollview -> panel becomes wider (eg: caused by a screen rotation).

When I use scaling scripts it does seem to work ?

Is this normal ?

Thanks
 
Upvote 0

wl

Well-Known Member
Licensed User
Longtime User
My mistake. I just found out that the anchors of the panel was not set correctly.
 
Upvote 0
Top