我试图将 a 中的对象数量显示为NSArrayaUILabel的一部分UITabelViewCell:
UILabel *numberLabel = (UILabel *)[cell viewWithTag:103];
numberLabel.numberOfLines = [self.inputValues indexOfObject:inputValue];
NSLog(@"rownumber is: %d", numberLabel.numberOfLines);
给NSLog了我正确的数字,但标签只显示默认的标题值。我在这里想念什么?没有错误被抛出。