【发布时间】:2017-09-08 00:05:38
【问题描述】:
我的应用中有许多 Web 视图,我需要小心允许更多的 HTML 链接。
我不允许在委托方法 shouldStartLoadWithRequest 中使用链接。这工作正常,除了一件事。在 Web 视图中,链接仍以蓝色突出显示。 So the user naturally thinks they are active links, but when selected, I disallow the link from the delegate method.这给用户带来了困惑。
有没有办法让我禁用链接颜色,所以当它包含 UIWebView 中的链接时,文本不会显示为蓝色?
【问题讨论】:
标签: iphone cocoa-touch