例外:
在无效索引路径请求 rect
代码:
CGRect rect = [tableView rectForRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0]];
使固定:
if ([tableView numberOfRowsInSection:0] <= i) {
return;
}
也许存在更好的方式
例外:
在无效索引路径请求 rect
代码:
CGRect rect = [tableView rectForRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0]];
使固定:
if ([tableView numberOfRowsInSection:0] <= i) {
return;
}
也许存在更好的方式