我有一个UITableView
和cells
的动态更新.除了调用tableview.reload
(见下文)刷新表格中的cells
之外,一切都正常.我希望表格滚动到底部以显示新条目.
- (void)reloadTable:(NSNotification *)notification {
NSLog(@"RELOAD TABLE ...");
[customTableView reloadData];
// Scroll to bottom of UITable here ....
}
我本来打算用scrollToRowAtIndexPath:atScrollPosition:animated:
,但后来发现我没有indexPath
.
有人知道怎么做吗,或者我可以使用的delegate
次回调?