IUIDocumentBrowserViewControllerDelegate 接口

定义

表示所需方法的接口 ((如果协议 UIDocumentBrowserViewControllerDelegate有任何) )。

[Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIDocumentBrowserViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIDocumentBrowserViewControllerDelegate = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

注解

此接口包含所需的方法 ((如果定义协议 UIDocumentBrowserViewControllerDelegate有任何) )。

如果开发人员创建实现此接口的类,则实现方法将自动导出到具有协议中 UIDocumentBrowserViewControllerDelegate 定义的方法的匹配签名的 Objective-C。

如果类提供任何) UIDocumentBrowserViewControllerDelegate_Extensions 作为接口的扩展方法,则可选方法 (,从而允许开发人员调用协议上的任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

DidImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSUrl)

开发人员可以实现此方法,以在导入文档后做出响应。

DidPickDocumentsAtUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

表示所需方法的接口 ((如果协议 UIDocumentBrowserViewControllerDelegate有任何) )。

DidPickDocumentUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

开发人员可以实现此方法,以在用户选择文档 URL 后做出响应。

DidRequestDocumentCreation(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, Action<NSUrl,UIDocumentBrowserImportMode>)

开发人员可以实现此方法以响应创建新文档的请求。

FailedToImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSError)

开发人员可以实现此方法,以在应用程序无法导入文档时做出响应。

GetApplicationActivities(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

返回活动视图的自定义应用程序活动数组。

WillPresent(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, UIActivityViewController)

开发人员可以实现此方法来准备显示活动视图。

适用于