- (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;}
网友评论