摘要: UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0,0,0,0)];//后面还会重新设置其size。[label setNumberOfLines:0];NSString *s = @"string......";UIFont *font = [UIFont fontWithName:@"Arial" size:12];CGSize size = CGSizeMake(320,2000);CGSize labelsize = [s sizeWithFont:fontconstraine 阅读全文
posted @ 2013-04-28 17:49 小乐" 阅读(1190) 评论(0) 推荐(0) 编辑