//自适应高度
CGRect txtFrame = reasonLabel.frame;
reasonLabel.frame = CGRectMake(10, 100, 300,
txtFrame.size.height =[reasonLabel.textboundingRectWithSize:
CGSizeMake(txtFrame.size.width, CGFLOAT_MAX)
options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading
attributes:[NSDictionarydictionaryWithObjectsAndKeys:reasonLabel.font,NSFontAttributeName, nil] context:nil].size.height);
reasonLabel.frame = CGRectMake(10, 100, 300, txtFrame.size.height);