我正在重新加載我的表格視圖中的一些單元格。重新加載完成後,我想滾動以便它們可見。我知道scrollToRowAtIndexPath:atScrollPosition:方法。但是我需要在重裝完成後調用它,因爲重裝會改變行高。當UITableView刷新完成後有可能獲得回調嗎?
這裏有一些相關的問題,但他們不完全回答我的問題。
UITableView , Scroll to bottom on reload?
How to Start UITableView on the Last Cell
編輯 - 我重裝不插入或刪除任何行。相反,我正在重新加載一個或多個單元以反映更新的信息。
http://stackoverflow.com/questions/5112346/uitableview-scroll-to-bottom-on-reload – Sanniv 2012-12-31 05:39:40
http://stackoverflow.com/questions/16071503/how-to-tell-when- UITableView中,已完成的,reloaddata – hariszaman 2016-01-04 16:52:30