編輯

共用方式為


UITouch.PreviousLocationInView(UIView) Method

Definition

The previous location of this UITouch, in the coordinate system of the specified UIView.

[Foundation.Export("previousLocationInView:")]
public virtual CoreGraphics.CGPoint PreviousLocationInView (UIKit.UIView view);
abstract member PreviousLocationInView : UIKit.UIView -> CoreGraphics.CGPoint
override this.PreviousLocationInView : UIKit.UIView -> CoreGraphics.CGPoint

Parameters

view
UIView

The view that will be used as the coordinate reference for the touch event, or null if you want to use the window coordinates as a reference.

This parameter can be null.

Returns

Attributes

Applies to