UITextView 设置
NSAttributedString.Key.foregroundColor : UIColor.qvmedi_color(withHEX: 0x304EFF)
不起作用
新增
textView.linkTextAttributes = [:]
textView.attributedText = attrStr
UITextView 设置
NSAttributedString.Key.foregroundColor : UIColor.qvmedi_color(withHEX: 0x304EFF)
不起作用
新增
textView.linkTextAttributes = [:]
textView.attributedText = attrStr
本文标题:UITextView Link 颜色
本文链接:https://www.haomeiwen.com/subject/xtsdlltx.html
网友评论