Lable行间距
2017-07-12 本文已影响0人
贝勒黑福晋
let paragrap=NSMutableParagraphStyle()
paragrap.lineSpacing = 10
let attributedstring=NSAttributedString(string: (homeworkInfo?.content)!, attributes: [NSParagraphStyleAttributeName:paragrap])
cell.labelMsg.attributedText=attributedstring