例外:
無効なインデックス パスでの 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;
}
たぶん、より良い方法で存在します