iOS 8: web app status bar position and resizing problems

后端 未结 8 1218
离开以前
离开以前 2020-12-07 19:04

When setting the meta tags

apple-mobile-web-app-capable

and

apple-mobile-web-app-status-bar-style

to

相关标签:
8条回答
  • 2020-12-07 19:36

    The problem existed since iOS6. I had previously posted to Apple's bug report with all details you are providing today, and later was marked as duplicate. This was 2 years ago and unfortunately today I discovered that it got even worst.

    The original bug report has id 11966202 and is still (Open). Since you have the same problem the only thing you could do is confirm the bug which will escalate it and they will fix it in the future.

    As I said I am looking for a solution for more that enough to tell you there is no workaround. The problem can be reproduced on all iOS devices, but behaves differently based on the screen size and orientation.

    With iOS 8 we now experience a glitch where the viewport becomes just a very small portion of the screen and it closes/crashes completely.

    EDIT: Apple Ticket is now closed

    As of Monday, Apple had closed the ticket and I can confirm that using 8.1 finally resolves the camera and status bar issues I was having. Hope it resolved your issues too :)

    0 讨论(0)
  • 2020-12-07 19:42

    apple-mobile-web-app-status-bar-style is inactive in iOS 8. If you add a fixed div on top, only add it for OS 8_0

    if (navigator.appVersion.indexOf("OS 8_0 like Mac") > 0) ...
    
    0 讨论(0)
提交回复
热议问题