//动态label
+ (CGFloat)LabelHeight:(NSString *)content font:(CGFloat)fontSize AndLabelWidth:(CGFloat)LabelWidth;
{
NSMutableParagraphStyle * paragraph = [[NSMutableParagraphStylealloc] init];
NSDictionary * dict =@{NSFontAttributeName:[UIFontsystemFontOfSize:fontSize],
NSParagraphStyleAttributeName:paragraph};
CGSize size = [contentboundingRectWithSize:CGSizeMake(LabelWidth,MAXFLOAT) options:NSStringDrawingUsesLineFragmentOriginattributes:dict context:nil].size;
return size.height;
}