Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:]
出現(xiàn)這個(gè)報(bào)錯(cuò),注冊(cè)cell應(yīng)該放在最前面。
注冊(cè)的cell的方法需要放在,self.tableView.separatorStyle? = UITableViewCellSeparatorStyleNone;前面
[self.tableView registerClass:[SelectionHotCell class] forCellReuseIdentifier:@"SelectionHotCell"];
self.tableView.separatorStyle? = UITableViewCellSeparatorStyleNone;