禁止scrollview惯性滚动

2019-05-18  本文已影响0人  coderJerry01

pragma mark - UIScrollViewDelegate

-(void)scrollViewWillBeginDecelerating: (UIScrollView *)scrollView{
[scrollView setContentOffset:scrollView.contentOffset animated:NO];
}

上一篇下一篇

猜你喜欢

热点阅读