- (void)scrollViewDidScroll:(UIScrollView *)scrollView {spa
CGFloat sectionHeaderHeight = 40;3d
if (scrollView.contentOffset.y<=sectionHeaderHeight&&scrollView.contentOffset.y>=0) {orm
scrollView.contentInset = UIEdgeInsetsMake(-scrollView.contentOffset.y, 0, 0, 0);io
} else if (scrollView.contentOffset.y>=sectionHeaderHeight) {scroll
scrollView.contentInset = UIEdgeInsetsMake(-sectionHeaderHeight, 0, 0, 0);margin
}top
}ant