cellForRowAtIndexPath 比 heightForRowAtIndexPath 先执行

最近新增界面 在sb上面拖了一个tableview,一进界面发现直接走cellForRow,我实现了heightForRow代理方法并没有走

然后查看sb上面tableview的属性 发现这两个属性默认选中的

你可能感兴趣的:(cellForRowAtIndexPath 比 heightForRowAtIndexPath 先执行)