iosxlform

XLForm Cell numberOfLines


Any pros out there using XLForm and have any idea on how to configure the cell such that the textLabel.numberOfLines can be changed to 2? I have a very long string that cannot fit in 1 line.

Any suggestions or thoughts is really appreciated! Thank you very much in advance!!! =D


Solution

  • Seems like this did the trick:

    [self.row.cellConfigAtConfigure setObject:@(3) forKey:@"textLabel.numberOfLines"];