2
当我在UITableView中获取单元格时遇到问题。它导致崩溃我的应用程序和显示日志:警告:无法加载任何Objective-C类信息。这将显着降低可用类型信息的质量
警告:无法加载任何Objective-C类信息。这会使 显着降低可用类型信息的质量。
而且这是我的代码:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
CustomCell *cell = [_theTableView cellForRowAtIndexPath:indexPath];
CGSize labelSize = [cell.timeLabel.text sizeWithAttributes:@{NSFontAttributeName:cell.timeLabel.font}];
CGFloat timeLabelHeight = labelSize.height;
它送花儿给人破裂和崩溃在线
CustomCell *cell = [_theTableView cellForRowAtIndexPath:indexPath];
能不能帮我解决这个问题。谢谢。
我不理解为什么这个答案和ARC下它使什么区别呢。 – Droppy