字符间距
作者:
Matte | 来源:发表于
2016-07-28 13:51 被阅读29次- (void)configureContentLabelText{NSMutableAttributedString*attributedString = [[NSMutableAttributedStringalloc]initWithString:@"Label"];longnumber =5;CFNumberRefnum =CFNumberCreate(kCFAllocatorDefault,kCFNumberSInt8Type,&number); [attributedString addAttribute:(id)kCTKernAttributeName value:(__bridgeid)num range:NSMakeRange(0,[attributedString length])];CFRelease(num);self.label.attributedText= attributedString;}
本文标题:字符间距
本文链接:https://www.haomeiwen.com/subject/umeajttx.html
网友评论