给定字符串的长度, 还有换行方式, 算出高度
1 UIFont * font = [UIFont systemFontOfSize:14]; 2 3 CGSize size = [text sizeWithFont:font constrainedToSize:CGSizeMake(140, 1000)lineBreakModel:URLineBreakModelCHaracterWrap];