iOS Question Design Format


Well-Known Member
Licensed User
I'm designing a simple interface with ipad mini2 retina.

when i set the position in design mode the page work fine.
when i view the page in running, some elements are out of page.


resize function return width and height as 960x768, ipad retina is 2048x1536


Licensed User
iOS works with a 'point' unit, which is similar to the dip values in B4A, and not pixels.
On your device the scale is 2 which means 1024x768 points.
The difference between 1024 and 960 is the height of the different bars (StatusBar, NavigationBar, ToolBar, TabBar)

Have a look at chapter 5 Screen sizes and resolutions in the B4i Beginner's Guide.
Last edited:
Upvote 0