textViewlinkTextAttributes = NSForegroundColorAttributeName RBG_Text#1DA1F2 NSUnderlineColorAttributeName UIColor clearColor
textView.linkTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor(named: "RBG_Text")!, NSAttributedString.Key.underlineColor: UIColor.clear, NSAttributedString.Key.underlineStyle: NSUnderlineStyle.single.rawValue]
原文地址: https://www.cveoy.top/t/topic/hNdd 著作权归作者所有。请勿转载和采集!