【发布时间】:2018-01-17 20:58:08
【问题描述】:
我正在使用
[[NSAttributedString alloc] initWithData:[HTMLText
dataUsingEncoding:NSUTF8StringEncoding] options:options
documentAttributes:NULL error:NULL];
将 HTML 字符串转换为 AttributeString 并在 textView 中使用它,但是,我不希望文本中的超链接在 textView 中可点击,有什么办法可以删除文本后面的超链接?
【问题讨论】:
标签: html ios objective-c uitextview nsattributedstring