首页 > 其他 > 详细

UITableView _configureCellForDisplay:forIndexPath: crash

时间:2015-02-02 23:16:22      阅读:408      评论:0      收藏:0      [点我收藏+]

Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:], /SourceCache/UIKit/UIKit-3318.16.21/UITableView.m
有时候用storyboard做uitableview会遇到这种bug,首先呢,你要检查下,自己写得cellide与storyboard里的cell的cellIde是否对应技术分享

如果不是这个地方,那就有可能是

技术分享

这个地方,看是不是被别人设置为static cell了,如果要用cellForRowAtIndex对cell进行复用的话,一定要用动态的,当然,如果你的cell只用一次,那你就用static cell吧,这样,numberofsection这些都省了

UITableView _configureCellForDisplay:forIndexPath: crash

原文:http://blog.csdn.net/dauihiy/article/details/43413173

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!