摘要:
- (int)getAttributedStringHeightWithString:(NSAttributedString *) string WidthValue:(int) width{int total_height = 0;CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)string); //string 为要计算高度的NSAttributedStringCGRect drawingRect = CGRectMake(0, 0, width, 1 阅读全文
posted @ 2014-03-16 09:24
陌云
阅读(1391)
评论(0)
推荐(0)
浙公网安备 33010602011771号