I want set firstLineHeadIndent
for only first paragraph for a multi-paragraph UILabel
, how can I do
NSMutableParagraphStyle *paragraphStype = [[NSMutableParagraphStyle alloc] init];
paragraphStype.firstLineHeadIndent = 10.0f;
[att addAttribute:NSParagraphStyleAttributeName value:paragraphStype range:NSMakeRange(0, att.length)];
Try to use smaller range: