canPerformAction method

bool canPerformAction(
  1. Pointer<ObjCSelector> action, {
  2. ObjCObjectBase? withSender,
})

canPerformAction:withSender:

Implementation

bool canPerformAction(ffi.Pointer<objc.ObjCSelector> action, {objc.ObjCObjectBase? withSender}) {
  objc.checkOsVersionInternal('UIResponder.canPerformAction:withSender:', iOS: (false, (3, 0, 0)));
  return _objc_msgSend_1f04296(
    this.ref.pointer,
    _sel_canPerformAction_withSender_,
    action,
    withSender?.ref.pointer ?? ffi.nullptr,
  );
}