单击链接时显示警报视图 [英] Show alert view when click on a link
本文介绍了单击链接时显示警报视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在UIWebView中使用格式化文本,我有这样的东西:
I use formatted text in UIWebView, i have something like this:
<a href="tel://0442059840">0442059840</a>
我需要在使用点击该链接时向用户显示警告UIAlertView
在启动电话之前进行确认。这可能吗?提前完成。
I need to show alert to the user when clicking on that link using the UIAlertView
for confirmation before launching the telephone call. Is this possible? Thanx in advance.
推荐答案
是的但您需要使用未记录的方法。在Google或stackoverflow上搜索,您会轻松找到它。这是一个帮助你的链接。
Yes but you need to use undocumented method for this. Search on google or stackoverflow you will find it easily. Here is a link for helping you.
这篇关于单击链接时显示警报视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文