UIView.HitTest(CGPoint, UIEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.