重寫tableView所在控制器的 viewDidLayoutSubviews 方法,在此方法裏面作滾動操做。it
-(void)viewDidLayoutSubviews{io
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:9 inSection:0];table
[self.customsTableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionBottom animated:NO];scroll
}方法