在ScrollToTop的代理中,拦截事件处理
//ScrollView Delegate
- (BOOL)scrollViewShouldScrollToTop:(UIScrollView *)scrollView {
NSLog(@"scrollViewShouldScrollToTop");
[self.tableView.mj_header beginRefreshing];
return YES;
}
参考:
https://blog.csdn.net/lea__dongyang/article/details/73885255
网友评论