CPApplicationDelegate.PerformActionForShortcutItem 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.
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.
- shortcutItem
- UIApplicationShortcutItem
- completionHandler
- UIOperationHandler
- Attributes