UIKit.UIApplication.SendAction Method
Send an action message to the specified target.

Syntax

[Foundation.Export("sendAction:to:from:forEvent:")]
public virtual bool SendAction (ObjCRuntime.Selector action, Foundation.NSObject target, Foundation.NSObject sender, UIEvent forEvent)

See Also

UIApplication.SendEvent

Parameters

action
Selector that identifies an action method.
target

The object receiving the action message.

This parameter can be null.

sender
Documentation for this section has not yet been entered.
forEvent
Documentation for this section has not yet been entered.

Returns

true if the responder handled the message.

Remarks

This method allows application developers to trigger native action methods.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0