tableview 第一次可以查看tableview 当退出第二次却会出现Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]

这里 错误的原因是因为没有加上以下代码:

if(cell == nil)
    {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];

    }

 

posted @ 2015-03-20 20:51  Rui.peng  阅读(230)  评论(0编辑  收藏  举报