CPApplicationDelegate.PerformActionForShortcutItem Method

Definition

Called by the system when the user initiates a Home screen quick action, unless the interaction was handled in WillFinishLaunching(UIApplication, NSDictionary) or M:UIKit.UIApplicationDelegate.DidFinishLaunching*.

[Foundation.Export("application:performActionForShortcutItem:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformActionForShortcutItem (UIKit.UIApplication application, UIKit.UIApplicationShortcutItem shortcutItem, UIKit.UIOperationHandler completionHandler);
abstract member PerformActionForShortcutItem : UIKit.UIApplication * UIKit.UIApplicationShortcutItem * UIKit.UIOperationHandler -> unit
override this.PerformActionForShortcutItem : UIKit.UIApplication * UIKit.UIApplicationShortcutItem * UIKit.UIOperationHandler -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

completionHandler
UIOperationHandler
Attributes

Applies to