"警报()"和“确认()”没有使用“apple-mobile-web-app-capable” [英] "alert()" and "confirm()" not working with "apple-mobile-web-app-capable"

查看:77
本文介绍了"警报()"和“确认()”没有使用“apple-mobile-web-app-capable”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iOS(目前为7.0)下,它看起来像 alert() confirm()在以下情况下无效我们的网络应用程序固定在主屏幕上(也就是使用元标记 apple-mobile-web-app-capable )。

Under iOS (currently 7.0), it looks like alert() and confirm() are not working when our web app is pinned to the home screen (aka using the meta tag apple-mobile-web-app-capable).

我发现用户在Twitter上遇到类似问题:

I found a user having a similar issue on twitter:

https://twitter.com/thomasfuchs/status/380137801259704320

任何人都有临时修复,如果它真的是iOS 7中的错误吗?

Anybody has a temporary fix if it's really a bug in iOS 7?

推荐答案

JavaScript alert() confirm()自iOS 7.0.3起修复了错误。

The JavaScript alert() and confirm() bugs are fixed as of iOS 7.0.3.

这篇关于"警报()"和“确认()”没有使用“apple-mobile-web-app-capable”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆