只能向上滚动
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
CGPoint point = scrollView.contentOffset;
point.y = point.y < 0 ? 0 : point.y;
scrollView.contentOffset = point;
}
只能向上滚动
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
CGPoint point = scrollView.contentOffset;
point.y = point.y < 0 ? 0 : point.y;
scrollView.contentOffset = point;
}