0

The 'resize' event detect right on android but in the IOS it doesn't detect it

$( window ).resize(function() {
   //code
});
sagar43
  • 3,341
  • 3
  • 29
  • 49
Mohamed Temraz
  • 45
  • 2
  • 3
  • 11
  • Please check if it helps. Hope it helps in some manner. [Link][1] [1]: http://stackoverflow.com/questions/1649086/detect-rotation-of-android-phone-in-the-browser-with-javascript – sagar43 Apr 24 '14 at 12:59

1 Answers1

1

Make sure that you viewport is set correctly. You should not have it bound to device-height. see : https://stackoverflow.com/a/13551413/390330

Community
  • 1
  • 1
basarat
  • 261,912
  • 58
  • 460
  • 511