'NSInvalidArgumentException',原因:'-[UIImageView _isResizable] 自定义 tableview 单元格异常 [英] 'NSInvalidArgumentException', reason: '-[UIImageView _isResizable] Exception with custom tableview cell

查看:30
本文介绍了'NSInvalidArgumentException',原因:'-[UIImageView _isResizable] 自定义 tableview 单元格异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在自定义单元格的执行时间收到 NSInvalidArgumentException.

I get a NSInvalidArgumentException on execution time off my custom cell.

调试器错误日志:

<代码>2014-12-25 21:39:11.397 Codebuddies[24159:11353215] *** 由于未捕获的异常NSInvalidArgumentException"而终止应用程序,原因:-[UIImageView _isResizable]:无法识别的选择器发送到实例 0x0808508850a65`

相关的swift代码块:

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

我已经检查过的内容:

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

感谢您的帮助!

推荐答案

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

Thanks to @MichaelDautermann I was able to fix my problem.

我在检查员视图中弃用了引用对象".我删除了它们,现在可以正常工作了.

I had deprecated 'Referencing objects' in my inspector view. I removed them and it now works as wished.

这篇关于'NSInvalidArgumentException',原因:'-[UIImageView _isResizable] 自定义 tableview 单元格异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆