滚动滚动到指定位置

CGPoint position = CGPointMake(0, 142);
[hotScrollerView setContentOffset:position animated:YES];
表示图滚动到指定位置(具体到哪个分区哪个行)
[weakSelf.infoTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:_sectionTypes.count-1] atScrollPosition:UITableViewScrollPositionBottom animated:NO];

你可能感兴趣的:(滚动滚动到指定位置)