且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在iPhone的表格单元格中显示多行文本?

更新时间:2023-12-03 11:43:46

为什么不将单元格文本标签的"numberOfLines"属性设置为0.

why dont you set the "numberOfLines" property of the text label of a cell to 0.

就是这样

cell.textLabel.numberOfLines=0;

祝你好运.