0

I am not sure if this is possible or not but i do not want my page to switch orientation when switching to portrait mode. i want it to be locked on landscape mode perminatley. I hope this makes since. Any help would be great thank you.

Travis Michael Heller
  • 1,210
  • 3
  • 16
  • 34

2 Answers2

1

You can't stop Safari from switching orientation, but you can use a CSS @media rule to cause the effective screen width to remain the same, however it will mean when moving from portrait-to-landscape that you'll lose vertical pixels.

Dai
  • 141,631
  • 28
  • 261
  • 374
0

You can't in a web app, but you can in native apps

Jez D
  • 1,461
  • 2
  • 25
  • 52