Instance Method

scrollViewWillBeginDecelerating:

Tells the delegate that the scroll view is starting to decelerate the scrolling movement.

Declaration

- (void)scrollViewWillBeginDecelerating:(UIScrollView *)scrollView;

Parameters

scrollView

The scroll-view object that is decelerating the scrolling of the content view.

Discussion

The scroll view calls this method as the user’s finger touches up as it is moving during a scrolling operation; the scroll view will continue to move a short distance afterwards. The decelerating property of UIScrollView controls deceleration.

See Also

Responding to Scrolling and Dragging

- scrollViewDidScroll:

Tells the delegate when the user scrolls the content view within the receiver.

- scrollViewWillBeginDragging:

Tells the delegate when the scroll view is about to start scrolling the content.

- scrollViewWillEndDragging:withVelocity:targetContentOffset:

Tells the delegate when the user finishes scrolling the content.

- scrollViewDidEndDragging:willDecelerate:

Tells the delegate when dragging ended in the scroll view.

- scrollViewShouldScrollToTop:

Asks the delegate if the scroll view should scroll to the top of the content.

- scrollViewDidScrollToTop:

Tells the delegate that the scroll view scrolled to the top of the content.

- scrollViewDidEndDecelerating:

Tells the delegate that the scroll view has ended decelerating the scrolling movement.