2014-06-28 47 views
0

我看到UITableViewDelegatetableView:heightForRowAtIndexPath:的調用,其中indexPath.row大於先前從UITableViewDataSource s tableView:numberOfRowsInSection:對同一節返回的值。UITableViewDelegate的tableView:heightForRowAtIndexPath:爲不存在的單元格調用?

例如,如果部分0中的行數爲1,則可以使用{ section = 0, row = 1}調用tableView:heightForRowAtIndexPath:

這是一個功能或錯誤(在我的代碼或其他地方)?

回答

0

該問題現在已經消失。我認爲它可能與後臺線程更新表的數據源的競爭條件有關。

相關問題