-(CGFloat)heightWithWidth:(CGFloat)width andString:(NSString *)str andFontSize:(int)fontSize{
CGSize titleSize = [str boundingRectWithSize:CGSizeMake(width, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:fontSize]} context:nil].size;
return titleSize.height;
}