当使用UITableViewCell和UITableViewCellStyleValue1风格时,textTextLabel很长时textLabel.text被截断。如何防止在使用UITableViewCellStyleValue1时截断textLabel?
static NSString *CellIdentifier = @"Cell";
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease];
cell.textLabel.text = @"Publisher";
cell.detailTextLabel.text = @"This Is A Very Long String";
所以,问题是如何给力“发布”而不被截断detailTextLabel的regarldess长度要显示?
P.S.我是这个社区的新成员,所以我无法发布可以更好地说明问题的图像。对不起...
不幸的是,没有工作......谢谢你的尝试。 – Joshua 2010-07-17 21:12:17
虽然为我工作。 – nont 2011-01-17 18:46:41