Share via


UIResponder.CanPerform(Selector, NSObject) Method

Definition

[Foundation.Export("canPerformAction:withSender:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CanPerform(ObjCRuntime.Selector action, Foundation.NSObject? withSender);
[<Foundation.Export("canPerformAction:withSender:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CanPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.CanPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool

Parameters

action
Selector
withSender
NSObject

Returns

Attributes

Applies to