ResponsiveProfileChanged problem with IOS

0
0

Hi,

The rotation in IOS mobile is not detected.

Testing ResponsiveProfileChanged with Iphone Xs Max and IPad, when I rotate the phone or the tablet, the landscape property it is always false.

Moreover also screen Width and Height remain the same.

This problem is only in mobile device.

Regards

Cristian Zerbinati

  • Luca (ITG)
    How do you check the screen width and height?
  • Cristian Zerbinati
    Application.Browser.ScreenSize.Width Application.Browser.ScreenSize.Height
  • Cristian Zerbinati
    regardless of how I check the screen size, the clientprofile it should work automaticaly but in ios it doesn’t work, the landscape property it is always false. I can not set it mannualy because it is read only property
  • You must to post comments
0
0

nobody from support can check this problem with an Iphone?

 

  • You must to post comments
0
0

Hi Levie,

yes the meta as the same

I have put a MessageBox for view the width and the height… when I rotate the ios device, the width and the height remain the same

in PC and android, it works

  • You must to post comments
0
0

Hi Cristian,

Did you set the viewport in Default.html?  If not, try this:

<meta name="viewport" content="width=device-width, initial-scale=1">

You should be able to check e.CurrentProfile.MaxWidth and e.CurrentProfile.Name to determine the Device width and profile being used.  I’ll look into the issue with the other properties you mentioned.

Best,

Levie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.