Template auto layout cell for automatically UITableViewCell height calculating
9.94k
stars
2.01k
forks
source link
reason: 'Cell must be registered to table view for identifier - JHBoss_StaffEvaluateTableViewCell' #309
Closed
LJJHD closed 7 years ago
[_tableView registerNib:[UINib nibWithNibName:@"JHBoss_StaffEvaluateTableViewCell" bundle:nil] forCellReuseIdentifier:@"JHBoss_StaffEvaluateTableViewCell"];
(CGFloat)tableView:(UITableView )tableView heightForRowAtIndexPath:(NSIndexPath )indexPath{ return [tableView fd_heightForCellWithIdentifier:@"JHBoss_StaffEvaluateTableViewCell" cacheByIndexPath:indexPath configuration:^(JHBoss_StaffEvaluateTableViewCell * cell) {
}]; }
为什么注册过了,还是报 reason: 'Cell must be registered to table view for identifier - JHBoss_StaffEvaluateTableViewCell'这个错误