Open bsv-trungnguyen opened 9 years ago
here is my code: OHParagraphStyle* paragraphStyle = [OHParagraphStyle defaultParagraphStyle]; paragraphStyle.lineSpacing = 0; paragraphStyle.textAlignment=kCTJustifiedTextAlignment; [attributedString setParagraphStyle:paragraphStyle range:NSMakeRange(0, attributedString.length)]; cell.bodyOHAttributedLabel.attributedText = attributedString;
Have you solved this problem? @bsv-trungnguyen
here is my code: OHParagraphStyle* paragraphStyle = [OHParagraphStyle defaultParagraphStyle]; paragraphStyle.lineSpacing = 0; paragraphStyle.textAlignment=kCTJustifiedTextAlignment; [attributedString setParagraphStyle:paragraphStyle range:NSMakeRange(0, attributedString.length)]; cell.bodyOHAttributedLabel.attributedText = attributedString;