摘要:
1、UILabel 1 NSString *str = @"字符串大小"; 2 UIFont *font = [UIFont fontWithName:@"Arial" size:50.0f]; 3 CGSize size = CGSizeMake(320, 2000); 4 UILabel *label = [[UILabel alloc] initWithFrame:CGRectZero]; 5 [label setNumberOfLines:0]; 6 CGSize labelsize = [str sizeWithFont:font constr 阅读全文
posted @ 2013-10-22 12:01 GISerYang 阅读(6391) 评论(0) 推荐(2) 编辑