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