How do you detect change of screen orientation?

Hi Team,

I need to open another screen when ScreenOrientation is in LANDSCAPE position.

This solution does not work . How to solve this ?

2 Likes

You can chech if screen height is < screen width then ....

3 Likes

Try using a Logical (=) operator instead of a Math (=) operator.

Both work the same.

Does Math (=) operator compare Strings ?

grafik

2 Likes

Hi,

I have chcecked and it`s still not working.

Super, thank You.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.