let attribtStr = NSAttributedString.init(string: "\(price)", attributes: [ NSAttributedStringKey.foregroundColor: getColor(153, G: 153, B: 153, alpha: 1), NSAttributedStringKey.strikethroughStyle: NSNumber.init(value: Int8(NSUnderlineStyle.styleSingle.rawValue))])
swift生成中间划线文本
最新推荐文章于 2021-06-23 21:19:36 发布