解决 [self.tableView scrollToRowAt
2020-08-06 本文已影响0人
雪里的懒猪
[self.tableView scrollToRowAtIndexPath [NSIndexPath indexPathForRow:NSNotFound inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];将row设置为NSNotFound就可以了
[self.tableView scrollToRowAtIndexPath [NSIndexPath indexPathForRow:NSNotFound inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];将row设置为NSNotFound就可以了