iOS 7 计算字符串高度
摘要:
- (float)width:(NSString *)str font:(UIFont *)font{ NSDictionary *attribute = @{NSFontAttributeName:font}; CGSize size = [str boundingRectWi... 阅读全文
posted @ 2014-08-04 16:02 Hai_阔天空 阅读(131) 评论(0) 推荐(0)
posted @ 2014-08-04 16:02 Hai_阔天空 阅读(131) 评论(0) 推荐(0)