Error:

2019-11-24 22:16:01.047997+0800 SingleViewDemo[22576:34699748] Unknown class FeedbackCell in Interface Builder file.

2019-11-24 22:16:01.058953+0800 SingleViewDemo[22576:34699748] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UITableViewCell 0x7fba6c029a00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key checkoutButton.'

 

解决方法:

1. 先查看xib的Connections是否有失效,有的话重新设置connections

Unknown class xxx in Interface Builder file. / NSUnknownKeyException

 

2. 如果方法一无效,尝试勾选Identity inspector的"Inherit Module From Target"选项

Unknown class xxx in Interface Builder file. / NSUnknownKeyException

相关文章:

  • 2021-08-29
  • 2021-11-07
  • 2021-06-09
  • 2021-07-14
  • 2021-10-07
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案