iphone关于UILabel和UITextView的适应高度
定义一个测试用的字符串,然后根据字体、UiLable或UiTextView的宽度在指定模式下算出相应的size。
NSString * desc = @"Abstract:Returns
the size of the string if it were rendered with the specified constraints.";
CGSize size = [de
转载
2012-06-12 11:56:51 ·
1557 阅读 ·
0 评论