편집

다음을 통해 공유


UIView.HitTest(CGPoint, UIEvent) Method

Definition

The frontmost visible, interaction-enabled UIView containing .

[Foundation.Export("hitTest:withEvent:")]
public virtual UIKit.UIView HitTest (CoreGraphics.CGPoint point, UIKit.UIEvent uievent);
abstract member HitTest : CoreGraphics.CGPoint * UIKit.UIEvent -> UIKit.UIView
override this.HitTest : CoreGraphics.CGPoint * UIKit.UIEvent -> UIKit.UIView

Parameters

point
CGPoint
uievent
UIEvent

To be added.

This parameter can be null.

Returns

Attributes

Remarks

UIView objects must have an alpha value greater than 0.01 to be returned. However, this method does not account for interior transparent portions.

Applies to