NSMutableParagraphStyle *paragraphStyle =[ [NSMutableParagraphStyle alloc] init];
paragraphStyle.lineSpacing = 50;
NSDictionary *attributes = @{ NSFontAttributeName:[UIFont
systemFontOfSize:14],NSParagraphStyleAttributeName:paragraphStyle };
LABLE.attributedText =[ [ NSAttributedString alloc] initWithString :lable.text attributes:attributes];
LABLE就是你创建的lable‘
时间: 2024-10-20 02:25:44