出现这个这个错误, 有可能是由于你直接通过一个数组的索引获取一个对象(或模型)然后直接调用这个对象(或模型)的某个方法

例如:

NSString *status = [self.models[indexPath.row] status];

应该改为:

RPModel *model = self.models[indexPath.row];

NSString *status = model.status;

这样就能消除这个错误啦...

相关文章:

  • 2021-12-21
  • 2021-06-16
  • 2021-05-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2021-06-06
  • 2022-01-06
  • 2021-11-09
  • 2022-12-23
  • 2021-12-17
  • 2022-01-05
  • 2021-07-14
相关资源
相似解决方案