iphone standalone web app - On screen rotation iOS webapp changes viewport and crashes -


i've created mobile webbased game , use "add homescreen" feature allow users add app ios devices.

however, started malfunctioning. has worked without problem started acting possibly after ios 8.3 update. code in head, has not been changed should not problem:

<meta name="viewport" content="width=590px, user-scalable=0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> 

when login screen works without problem, after logging in in landscape there margins left , right. if log in in portrait there no margins. if rotate phone landscape margins portrait displays normally, if rotate margins increase lot , if try rotate device again crashes.

i have taken screens show problem:

  1. http://i.imgur.com/o2jr8af.png
  2. http://i.imgur.com/q6zoxuj.png
  3. http://i.imgur.com/7bgoc42.png
  4. http://i.imgur.com/mh8hsml.png

after last screenshot webapp crashes. shows behaviour in webapp, if access game through safari, android app (which loads website in webview) or desktop simulated user-agent website functions properly.

i've tried deleting webapp, rebooting phone , adding homescreen no avail. first guessed caching issue should have been resolved after viewing website correctly in safari.

for wanting try themselves, game www.reincarnationgame.com


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -