简体   繁体   English

iOS 7视口中继标记变更

[英]iOS 7 viewport meta tag change

Has anyone had issues with the viewport tag since the iOS7 update? 自iOS7更新以来,是否有人在视口标签方面存在问题? I have a few sites that now have this white margin on the right side. 我有几个网站的右侧现在有这个白色边距。 I adjusted the initial scale to 0.1 and it fit the iPhone just fine but on an iPad 3 it was tiny, which makes sense given the low scale. 我将初始比例调整为0.1,它非常适合iPhone,但在iPad 3上却很小,考虑到低比例,这是有道理的。

I didn't have this issue until the update and I can't find any documentation out there regarding any changes to how safari handles the viewport meta tag. 在更新之前,我没有这个问题,而且我找不到关于野生动物园如何处理视口元标记的任何文档。

Seems like iOS 7 is a bit buggy using meta description. 似乎iOS 7使用元描述有点麻烦。 I sometimes need to reload me website to be displayed all right. 有时我需要重新加载我的网站才能正常显示。

Maybe Apple will fix that with iOS 7.1. 也许Apple会使用iOS 7.1修复该问题。 There are a few other bugs as well. 还有其他一些错误。

Do you have multiple viewport tags? 您是否有多个视口标签? If so, combine them into a single tag, per this other answer . 如果是这样,请根据其他答案将它们组合到一个标签中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM