No matter I set the number of lines to 0 or to 100, it just won't change and the texts remain ... at the end. I've tried NSLineBreakByWordWrapping but it just removed the ... and do nothing.
UILabel *label = [[UILabel alloc] init];
[cell.contentView addSubview:label];
label.text = myString;
label.frame = CGRectMake(17, 42, 200, 30);
[label sizeToFit];
label.lineBreakMode = NSLineBreakByWordWrapping;
label.numberOfLines = 0;