有任何专业人士使用XLForm,并且对如何配置单元格有任何想法,使textLabel.numberOfLines可以更改为2?我有一条很长的线,不能放进1行。
任何建议或想法都是非常感谢的!提前谢谢你!
发布于 2014-09-11 05:12:32
看上去这招成功了:
[self.row.cellConfigAtConfigure setObject:@(3) forKey:@"textLabel.numberOfLines"];发布于 2016-03-04 09:57:28
这对我起了作用:
form +++= TextRow() {
$0.cell.textLabel?.numberOfLines = 0
$0.title = "Some long string that doesn't fit iPhone 5 screen width"
$0.placeholder = "Provide your answer"
}https://stackoverflow.com/questions/25778949
复制相似问题