Share via


CNContactViewControllerDelegate.ShouldPerformDefaultAction Method

Definition

Return true if the default action for the property should be triggered when it is selected by the user.

[Foundation.Export("contactViewController:shouldPerformDefaultActionForContactProperty:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldPerformDefaultAction(ContactsUI.CNContactViewController viewController, Contacts.CNContactProperty property);
[<Foundation.Export("contactViewController:shouldPerformDefaultActionForContactProperty:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldPerformDefaultAction : ContactsUI.CNContactViewController * Contacts.CNContactProperty -> bool
override this.ShouldPerformDefaultAction : ContactsUI.CNContactViewController * Contacts.CNContactProperty -> bool

Parameters

viewController
CNContactViewController

Returns

Implements

Attributes

Applies to