UITableViewController dequeueReusableCellWithIdentifier:indentifier forIndexPath:indexPath 报错

添加这一句 [tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:indentifier]; 加入到初始化tableview时

 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:indentifier forIndexPath:indexPath];

posted on 2015-11-28 16:43  程序修炼之道  阅读(362)  评论(0)    收藏  举报

导航