let paragrap=NSMutableParagraphStyle()
paragrap.lineSpacing = 10
let attributedstring=NSAttributedString(string: (homeworkInfo?.content)!, attributes: [NSParagraphStyleAttributeName:paragrap])
cell.labelMsg.attributedText=attributedstring
let paragrap=NSMutableParagraphStyle()
paragrap.lineSpacing = 10
let attributedstring=NSAttributedString(string: (homeworkInfo?.content)!, attributes: [NSParagraphStyleAttributeName:paragrap])
cell.labelMsg.attributedText=attributedstring
本文标题:Lable行间距
本文链接:https://www.haomeiwen.com/subject/ujibhxtx.html
网友评论