// scrollview 滑动代理
- (void)scrollViewDidScroll:(UIScrollView*)scrollView
{
CGPoint point = [scrollView.panGestureRecognizer translationInView:self.view];
if(point.y>0) {
NSLog(@"------往下滑动");
}else{
NSLog(@"------往上滑动");
}
}
网友评论