UIScrollViewDelegate - scrollViewDidEndDecelerating:
Tells the delegate that the scroll view has ended decelerating the scrolling movement.
Declaration
SWIFT
optional func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
OBJECTIVE-C
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
Parameters
scrollView
The scroll-view object that is decelerating the scrolling of the content view.
Discussion
The scroll view calls this method when the scrolling movement comes to a halt. The decelerating property of UIScrollView controls deceleration.
Availability
Available in iOS 2.0 and later.
UIScrollView 滚动减速结束时调用。
Tells the delegate that the scroll view has ended decelerating the scrolling movement.
Declaration
SWIFT
optional func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
OBJECTIVE-C
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
Parameters
scrollView
The scroll-view object that is decelerating the scrolling of the content view.
Discussion
The scroll view calls this method when the scrolling movement comes to a halt. The decelerating property of UIScrollView controls deceleration.
Availability
Available in iOS 2.0 and later.
UIScrollView 滚动减速结束时调用。