1 | - (CGFloat)textHeightFromTextString:(NSString *)text width:(CGFloat)textWidth fontSize:(CGFloat)textSize { |
1 | UILabel *msgLab = [[UILabel alloc] initWithFrame:CGRectMake(15, 10, frame.size.width-30, 100)]; |
编程如逆水行舟,不进则退
1 | - (CGFloat)textHeightFromTextString:(NSString *)text width:(CGFloat)textWidth fontSize:(CGFloat)textSize { |
1 | UILabel *msgLab = [[UILabel alloc] initWithFrame:CGRectMake(15, 10, frame.size.width-30, 100)]; |