施永鸿
Results
2
comments of
施永鸿
emm,I am also, Does any one have a solution?
经测试,需要为所有字符串加上富文本属性,不能仅设置事件文本而忽略其他文本的设置。 ```objc [allText addAttributes:@{ NSFontAttributeName: [UIFont systemFontOfSize:12.f], NSForegroundColorAttributeName: UIColor.textColor97 } range:normalRange]; [allText addAttributes:@{ NSForegroundColorAttributeName: UIColor.themColor, NSFontAttributeName: [UIFont systemFontOfSize:12.f], NSUnderlineStyleAttributeName: @(NSUnderlineStyleSingle) } range:viewDetailRange]; ```