iOS Question How to know if we are in portrait or landscape mode

yves67

Active Member
Licensed User
Longtime User
On a IPAD, I would like to know if this IPAD is in portait or landscape orientation ?
I did'nt find a solution
Thanks
Yves
 

MikeH

Well-Known Member
Licensed User
Longtime User
If page1.rootpanel.width > page1.rootpanel.height then 'landscape
 
Last edited:
Upvote 0
Top