摘要: - (float) heightForTextView: (UITextView *)textView WithText: (NSString *) strText{ float fPadding = 10.0; CGSize constraint = CGSizeMake(textView.contentSize.width - fPadding, CGFLOAT_MAX); CGSize size = [strText sizeWithFont: textView.fontconstrainedToSize:constraint lineBreakMode:NSLineBreakB... 阅读全文
posted @ 2013-08-09 14:16 cocoajin 阅读(239) 评论(0) 推荐(0) 编辑