共用方式為


UIDocumentInteractionControllerDelegate.CanPerformAction 方法

定義

開發人員不應該使用此已被取代的方法,這會判斷指定的控制器是否應該支援指定的動作。

[Foundation.Export("documentInteractionController:canPerformAction:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanPerformAction (UIKit.UIDocumentInteractionController controller, ObjCRuntime.Selector action);
abstract member CanPerformAction : UIKit.UIDocumentInteractionController * ObjCRuntime.Selector -> bool
override this.CanPerformAction : UIKit.UIDocumentInteractionController * ObjCRuntime.Selector -> bool

參數

action
Selector

即將加入。

這個參數可以是 null

傳回

屬性

適用於