- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
CGPoint point = scrollView.contentOffset;
if (point.y <= - 64) {
self.tableView.contentOffset = CGPointMake(0.0, - 64.0);
}
}
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
CGPoint point = scrollView.contentOffset;
if (point.y <= - 64) {
self.tableView.contentOffset = CGPointMake(0.0, - 64.0);
}
}
转载于:https://www.cnblogs.com/tian-sun/p/5909907.html