pressesBegan method

void pressesBegan(
  1. NSSet presses, {
  2. UIPressesEvent? withEvent,
})

pressesBegan:withEvent:

Implementation

void pressesBegan(objc.NSSet presses, {UIPressesEvent? withEvent}) {
  objc.checkOsVersionInternal('UIResponder.pressesBegan:withEvent:', iOS: (false, (9, 0, 0)));
  _objc_msgSend_pfv6jd(
    this.ref.pointer,
    _sel_pressesBegan_withEvent_,
    presses.ref.pointer,
    withEvent?.ref.pointer ?? ffi.nullptr,
  );
}