无法在iPhone上编译cell.textLabel.lineBreakMode = UILineBreakModeWordWrap

时间:2022-05-03 10:42:30

failed to compile cell.textLabel.lineBreakMode = UILineBreakModeWordWrap on iPhone, it does not recognize textLabel property. Could you let me know how to fix it?

无法在iPhone上编译cell.textLabel.lineBreakMode = UILineBreakModeWordWrap,它无法识别textLabel属性。你能告诉我怎么解决吗?

1 个解决方案

#1


textLabel is a new property for UITableViewCells as of iPhone OS 3.0. Are you trying to compile against an older version of the SDK?

从iPhone OS 3.0开始,textLabel是UITableViewCells的新属性。您是否尝试针对较旧版本的SDK进行编译?

#1


textLabel is a new property for UITableViewCells as of iPhone OS 3.0. Are you trying to compile against an older version of the SDK?

从iPhone OS 3.0开始,textLabel是UITableViewCells的新属性。您是否尝试针对较旧版本的SDK进行编译?