iOS failed to obtain a cell fro

2019-04-01  本文已影响0人  天空中的球

failed to obtain a cell from its dataSource UITableView 的错。。。

注意的是

- (UITableViewCell *)tableView:(UITableView *)tableView
         cellForRowAtIndexPath:(NSIndexPath *)indexPath {

不要返回空 return nil;错误的写法

上一篇 下一篇

猜你喜欢

热点阅读