[UIView animateWithDuration:2 animations:^{
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForItem:20 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO];
}
];
[UIView animateWithDuration:2 animations:^{
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForItem:20 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO];
}
];
本文标题:uitableview scrollToRowAtIndexPa
本文链接:https://www.haomeiwen.com/subject/mngjlftx.html
网友评论