hitTest method
hitTest:withEvent:
Implementation
UIView? hitTest(objc.CGPoint point, {UIEvent? withEvent}) {
objc.checkOsVersionInternal('UIView.hitTest:withEvent:', iOS: (false, (2, 0, 0)));
final _ret = _objc_msgSend_u7nfz8(
this.ref.pointer,
_sel_hitTest_withEvent_,
point,
withEvent?.ref.pointer ?? ffi.nullptr,
);
return _ret.address == 0 ? null : UIView.castFromPointer(_ret, retain: true, release: true);
}