iOS 9 Safari Viewport bug

后端 未结 1 1585
旧巷少年郎
旧巷少年郎 2021-01-23 05:54

I\'m working on the iPad version of a web project and am using Safari\'s web inspector to work with CSS layout etc. However I\'ve tracked my bug to the viewport meta tag.

<
相关标签:
1条回答
  • 2021-01-23 06:17

    Make sure to incorporate below changes to meta > viewport:

    • Remove width=device-width and height=device-height
    • Also set *-scale to 1.0001 from 1.0.

    -

    <meta name="viewport" content="initial-scale=1.0001, minimum-scale=1.0001, maximum-scale=1.0001, user-scalable=no"/>
    

    Worked well for me! Good Luck!!!

    0 讨论(0)
提交回复
热议问题