IOS10下Safari中的页面,其viewport配置user-scalable=no无效。

IOS10发布后,苹果为了“用户体验”,在Safari中忽略了user-scalable=no配置,但在WebView中仍默认启用。
为了“邪恶的阻止用户得到更好体验”,只能通过脚本方式在Safari中禁用缩放了。

参考资料:
iOS SDK Release Notes for iOS 10.0
ignoresViewportScaleLimits