NSMutableParagraphStyle
setFirstLineHeadIndent
。但是当标签只有一行时,AttributedString拦截后面省略了几个字符,为什么?
NSMutableParagraphStyle *style = [NSMutableParagraphStyle new];
[style setFirstLineHeadIndent:11];
[[NSAttributedString alloc] initWithString:@"abcdefg" attributes:dic];