我试图estimatedHeightForRowAtIndexPath通过AutoLayout 使用动态单元格高度,并在iOS8中按预期工作,但在iOS7.1中通过这样说:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MyProject.ViewController tableView:heightForRowAtIndexPath:]: unrecognized selector sent to instance 0x79e91350'

如果我定义heightForRowAtIndexPath,错误消失,但单元格不会自动调整大小.任何的想法?
更新:它确实可以在iOS 7.0中使用,对吗?
