当前位置:网站首页>Add strikethrough to uilabel

Add strikethrough to uilabel

2022-06-24 02:30:00 Master coder

let attributedText = NSAttributedString(string: " The absence of Tao , What the teacher has saved ",
            attributes: [NSStrikethroughStyleAttributeName:1])
self.contentLabel.attributedText = attributedText
原网站

版权声明
本文为[Master coder]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211029104019925n.html

随机推荐