uitableview scrollToRowAtIndexPa

2018-04-24  本文已影响0人  playboy

[UIView animateWithDuration:2 animations:^{

      [self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForItem:20 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO];

    }

  ];

上一篇 下一篇

猜你喜欢

热点阅读