Bewerken

Delen via


UICollectionViewController.WillEndDragging Method

Definition

Indicates that dragging will end shortly.

[Foundation.Export("scrollViewWillEndDragging:withVelocity:targetContentOffset:")]
public virtual void WillEndDragging (UIKit.UIScrollView scrollView, CoreGraphics.CGPoint velocity, ref CoreGraphics.CGPoint targetContentOffset);
abstract member WillEndDragging : UIKit.UIScrollView * CoreGraphics.CGPoint *  -> unit
override this.WillEndDragging : UIKit.UIScrollView * CoreGraphics.CGPoint *  -> unit

Parameters

scrollView
UIScrollView

The scrollview that is associated with the collection view.

velocity
CGPoint

The velocity of the scroll view (in points) when the touch ended.

targetContentOffset
CGPoint

The expected offset when the scrolling action decelerates to a stop.

Attributes

Applies to