sendAction method
sendAction:to:from:forEvent:
Implementation
bool sendAction(
ffi.Pointer<objc.ObjCSelector> action, {
objc.ObjCObjectBase? to,
objc.ObjCObjectBase? from,
UIEvent? forEvent,
}) {
objc.checkOsVersionInternal('UIApplication.sendAction:to:from:forEvent:', iOS: (false, (2, 0, 0)));
return _objc_msgSend_175fj4e(
this.ref.pointer,
_sel_sendAction_to_from_forEvent_,
action,
to?.ref.pointer ?? ffi.nullptr,
from?.ref.pointer ?? ffi.nullptr,
forEvent?.ref.pointer ?? ffi.nullptr,
);
}