UITouch.LocationInView(UIView) Method

Definition

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

[Foundation.Export("locationInView:")]
public virtual CoreGraphics.CGPoint LocationInView (UIKit.UIView view);
abstract member LocationInView : UIKit.UIView -> CoreGraphics.CGPoint
override this.LocationInView : 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