'NSInvalidArgumentException',原因:' - [UIImageView _isResizable]自定义tableview单元格的异常

Tob*_*aut 3 uitableview swift

我从NSInvalidArgumentException自定义单元格中获得执行时间.

调试器错误日志:

2014-12-25 21:39:11.397 Codebuddies[24159:11353215] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView _isResizable]: unrecognized selector sent to instance 0x7fa5f580b6a0' `

相关的swift代码块:

let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as FeedTableViewCell

我已经检查了什么:

  • 单元格的标识符设置为"单元格"

感谢帮助!

Tob*_*aut 8

感谢@MichaelDautermann我能够解决我的问题.

我在检查器视图中弃用了"引用对象".我删除了它们,它现在按照希望工作.