UIApplication.SendAction(Selector, NSObject, NSObject, UIEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send an action message to the specified target
.
[Foundation.Export("sendAction:to:from:forEvent:")]
public virtual bool SendAction (ObjCRuntime.Selector action, Foundation.NSObject target, Foundation.NSObject sender, UIKit.UIEvent forEvent);
abstract member SendAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject * UIKit.UIEvent -> bool
override this.SendAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject * UIKit.UIEvent -> bool
Parameters
- action
- Selector
Selector that identifies an action method.
Returns
true
if the responder handled the message.
- Attributes
Remarks
This method allows application developers to trigger native action methods.
Applies to
See also
- <xref:UIKit.UIApplication.SendEvent>