- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate {
if(decelerate == NO) {
[self scrollViewDidEndDecelerating:scrollView];
}
}
- (void)scrollViewDidEndDecelerating:(nonnull UIScrollView *)scrollView {
// 在这里面写scrollView停止时需要做的事情
NSLog(@"UIScrollView停止滚动了");
}
网友评论