标签:
将
NSMutableParagraphStyle *textStyle = [[NSMutableParagraphStyle defaultParagraphStyle]mutableCopy];
textStyle.lineBreakMode = NSLineBreakByWordWrapping;
textStyle.alignment = NSTextAlignmentRight;
NSDictionary *dictionary = @{NSFontAttributeName: self.percentageFont,NSParagraphStyleAttributeName: textStyle};
drawInRect:withFont:lineBreakMode:alignment is deprecated
标签:
原文地址:http://www.cnblogs.com/tonyxu/p/4297338.html