[tableView scrollToNearestSelectedRowAtScrollPosition:UITableViewScrollPositionBottom animated:YES];
这个是选择哪一行的cell,让该行的cell滑到tableView的最底端
NSIndexPath *indexPath = [NSIndexPath indexPathForItem:13 inSection:0];
[tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionBottom animated:YES];
这个是指定哪一行的cell,让该行cell滑到tableView的最底端
iOS 怎么让tableView滑动最底端
最新推荐文章于 2022-11-19 17:59:40 发布