UIDocumentBrowserViewController
5999 ワード
https://developer.apple.com/documentation/uikit/uidocumentbrowserviewcontroller
"A view controller for browsing and performing actions on documents that you store locally and in the cloud."
ローカルおよびクラウドに格納されているドキュメントを参照または実行するためのビューコントローラ.
ドキュメントブラウザビューコントローラを使用すると、クラウド上にあるドキュメントに簡単にアクセスおよび表示できます.デフォルトでは、ドキュメントブラウザはシステムのローカルファイルプロバイダとアイスファイルプロバイダにアクセスできます.
ローカルファイルプロバイダでは、アプリケーションドキュメントディレクトリ内のすべてのドキュメントにアクセスできます.アプリケーションが
このクラウドファイルプロバイダは、クラウドドライブ上でアプリケーションのフォルダを作成します.ユーザーは、フォルダからドキュメントにアクセスするか、クラウドドライブに任意の場所からアクセスできます.iCloudへのアクセスは自動的に処理されるため、アプリケーションのiCloud機能をアクティブにする必要はありません.
サードパーティストレージサービスは、ファイルプロバイダ拡張を実装することによって、管理されたドキュメントへのアクセスを提供することもできる(iOS 11以降).詳細については、ファイルプロバイダを参照してください.
File Provider
https://developer.apple.com/documentation/fileprovider
https://velog.io/@panther222128/File-Provider
Impoartnat
ファイルがローカルにアクセスできると仮定しないでください.ユーザーは、クラウドドライブからファイルを保存できます.または、現在のファイルプロバイダ拡張が提供するすべてのクラウドリポジトリに格納できます.
システム(または他のアプリケーション)は、ドキュメントブラウザが提供する任意の時間にファイルを変更できることを覚えておいてください.したがって、
アプリケーション内のローカルドキュメントまたはリモートドキュメントへのアクセス権をユーザーに提供します.
https://developer.apple.com/documentation/uikit/view_controllers/adding_a_document_browser_to_your_app
https://velog.io/@panther222128/Adding-a-Document-Browser-to-Your-App
ドキュメントブラウザの「編集」メニューまたはナビゲーションバーで作成または追加できるcustomアクション.
https://developer.apple.com/documentation/uikit/uidocumentbrowseraction
https://velog.io/@panther222128/UIDocumentBrowserAction
ドキュメントブラウザの標準ロードと遷移アニメーションのオブジェクトを実装します.
https://developer.apple.com/documentation/uikit/uidocumentbrowsertransitioncontroller
https://velog.io/@panther222128/UIDocumentBrowserTransitionController
アプリケーション内のローカルドキュメントまたはリモートドキュメントへのアクセス権をユーザーに提供します.
https://developer.apple.com/documentation/uikit/view_controllers/adding_a_document_browser_to_your_app
https://velog.io/@panther222128/Adding-a-Document-Browser-to-Your-App
ドキュメントセレクタを使用して、アプリケーションコンテナの外部ディレクトリの内容にアクセスします.
https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories
https://velog.io/@panther222128/Providing-Access-to-Directories
アプリケーションの砂箱の外部ドキュメントまたは宛先にアクセスするためのビューコントローラ.
https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller
https://velog.io/@panther222128/UIDocumentPickerViewController
ビューコントローラは、アプリケーションで処理できないファイル形式でファイルをプレビュー、開き、印刷します.
https://developer.apple.com/documentation/uikit/uidocumentinteractioncontroller
https://velog.io/@panther222128/UIDocumentInteractionController
"A view controller for browsing and performing actions on documents that you store locally and in the cloud."
ローカルおよびクラウドに格納されているドキュメントを参照または実行するためのビューコントローラ.
Declaration
class UIDocumentBrowserViewController : UIViewController
Overview
ドキュメントブラウザビューコントローラを使用すると、クラウド上にあるドキュメントに簡単にアクセスおよび表示できます.デフォルトでは、ドキュメントブラウザはシステムのローカルファイルプロバイダとアイスファイルプロバイダにアクセスできます.
ローカルファイルプロバイダでは、アプリケーションドキュメントディレクトリ内のすべてのドキュメントにアクセスできます.アプリケーションが
UISupportsDocumentBrowser
キーである場合、またはUIFileSharingEnabled
およびLSSupportsOpeningDocumentsInPlace
キーがInfoである場合.plistファイルに宣言した場合は、他のアプリケーションのドキュメントディレクトリからドキュメントにアクセスすることもできます.ユーザーが他のアプリケーションのドキュメントディレクトリからドキュメントを開くと、ドキュメントが編集され、変更が他のアプリケーションのドキュメントディレクトリに保存されます.このクラウドファイルプロバイダは、クラウドドライブ上でアプリケーションのフォルダを作成します.ユーザーは、フォルダからドキュメントにアクセスするか、クラウドドライブに任意の場所からアクセスできます.iCloudへのアクセスは自動的に処理されるため、アプリケーションのiCloud機能をアクティブにする必要はありません.
サードパーティストレージサービスは、ファイルプロバイダ拡張を実装することによって、管理されたドキュメントへのアクセスを提供することもできる(iOS 11以降).詳細については、ファイルプロバイダを参照してください.
File Provider
https://developer.apple.com/documentation/fileprovider
https://velog.io/@panther222128/File-Provider
Impoartnat
ファイルがローカルにアクセスできると仮定しないでください.ユーザーは、クラウドドライブからファイルを保存できます.または、現在のファイルプロバイダ拡張が提供するすべてのクラウドリポジトリに格納できます.
システム(または他のアプリケーション)は、ドキュメントブラウザが提供する任意の時間にファイルを変更できることを覚えておいてください.したがって、
UIDocument
サブクラスまたはNSFilePresenter
およびNSFileCoordinator
オブジェクトを使用して、これらのファイルへのアクセスを制御する必要があります.Topics
Creating a Document Browser
Adding a Document Browser to Your App
アプリケーション内のローカルドキュメントまたはリモートドキュメントへのアクセス権をユーザーに提供します.
https://developer.apple.com/documentation/uikit/view_controllers/adding_a_document_browser_to_your_app
https://velog.io/@panther222128/Adding-a-Document-Browser-to-Your-App
Adding Custom Actions
UIDocumentBrowserAction
ドキュメントブラウザの「編集」メニューまたはナビゲーションバーで作成または追加できるcustomアクション.
https://developer.apple.com/documentation/uikit/uidocumentbrowseraction
https://velog.io/@panther222128/UIDocumentBrowserAction
Animating Transitions
UIDocumentBrowserTransitionController
ドキュメントブラウザの標準ロードと遷移アニメーションのオブジェクトを実装します.
https://developer.apple.com/documentation/uikit/uidocumentbrowsertransitioncontroller
https://velog.io/@panther222128/UIDocumentBrowserTransitionController
See Also
Documents and Directories
Adding a Document Browser to Your App
アプリケーション内のローカルドキュメントまたはリモートドキュメントへのアクセス権をユーザーに提供します.
https://developer.apple.com/documentation/uikit/view_controllers/adding_a_document_browser_to_your_app
https://velog.io/@panther222128/Adding-a-Document-Browser-to-Your-App
Providing Access to Directories
ドキュメントセレクタを使用して、アプリケーションコンテナの外部ディレクトリの内容にアクセスします.
https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories
https://velog.io/@panther222128/Providing-Access-to-Directories
UIDocumentPickerViewController
アプリケーションの砂箱の外部ドキュメントまたは宛先にアクセスするためのビューコントローラ.
https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller
https://velog.io/@panther222128/UIDocumentPickerViewController
UIDocumentInteractionController
ビューコントローラは、アプリケーションで処理できないファイル形式でファイルをプレビュー、開き、印刷します.
https://developer.apple.com/documentation/uikit/uidocumentinteractioncontroller
https://velog.io/@panther222128/UIDocumentInteractionController
Reference
この問題について(UIDocumentBrowserViewController), 我々は、より多くの情報をここで見つけました https://velog.io/@panther222128/UIDocumentBrowserViewControllerテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol