0

I've added the following javascript to my site:

alert('screen width=' + screen.width);

When I open the site on my iPhone X it outputs 'screen width=375' in both portrait and landscape mode.

I would expect it to be 812px in landscape.

I've also tried this on my iPhone XR and it has the same behaviour.

Can anyone suggest why this might be?

Urbycoz
  • 6,922
  • 20
  • 62
  • 104

0 Answers0