我是在storyboard里面创建的cell,之前用segue跳转过来也是没问题,也没有写cellForRowAtIndexPath方法,但是最近另一个页面presentViewController跳转过来的时候就报tableview failed to obtain a cell from its dataSource错误,从网上了解是没返回cell或者cell是nil,所以想请问怎么解决,不可以直接使用storyboard的cell而不在cellForRowAtIndexPath里返回吗?
我是在storyboard里面创建的cell,之前用segue跳转过来也是没问题,也没有写cellForRowAtIndexPath方法,但是最近另一个页面presentViewController跳转过来的时候就报tableview failed to obtain a cell from its dataSource错误,从网上了解是没返回cell或者cell是nil,所以想请问怎么解决,不可以直接使用storyboard的cell而不在cellForRowAtIndexPath里返回吗?
2 回答1k 阅读
1 回答1.1k 阅读✓ 已解决
1 回答2.7k 阅读
1 回答1.5k 阅读
1 回答1.4k 阅读
1.7k 阅读
1 回答1.1k 阅读