Document Providers

A document provider extension implements a custom interface for importing, exporting, opening, or moving an app’s documents from within other apps on the system. When a document provider extension loads, its interface displays in a modal view containing a navigation bar.

문서 공급자 확장은 시스템의 다른 앱에서 앱의 문서를 가져 오거나, 내보내거나, 열거나 이동하기 위한 사용자 지정 인터페이스를 구현합니다. 문서 공급자 확장이 로드되면 해당 인터페이스가 네비게이션바를 포함하는 모달뷰로 표시됩니다.

When users open or import files, show only context-specific documents and information. When someone uses your extension to open or import documents, only display documents that are appropriate for the current context. For example, if a PDF-editing app loads your extension, only list PDF files as possible documents that can be opened or imported. Be sure to list other information that may be helpful too, such as modification dates, sizes, and whether documents are local or remote.

사용자가 파일을 열거나 가져올 때 컨텍스트 관련 문서 및 정보만 표시하십시오. 다른 사용자가 확장을 사용하여 문서를 열거나 가져오는 경우 현재 상황에 적합한 문서만 표시합니다. 예를 들어, PDF 편집 앱에서 확장을 로드하는 경우, PDF 파일을 열거나 가져올 수 있는 가능한 문서만 나열하십시오. 수정 날짜, 크기, 문서가 로컬인지 원격인지 등 유용한 정보도 함께 나열하십시오.

Let people select a destination when exporting and moving documents. Unless your app stores documents in a single directory, let users navigate to a specific destination in your directory hierarchy. Consider providing a way to add new subdirectories.

문서를 내보내고 이동할 때 목적지를 선택하게 하십시오. 앱이 문서를 단일 디렉토리에 저장하지 않는 한 사용자가 디렉토리 계층의 특정 목적지를 탐색 할 수 있습니다. 새 하위 디렉토리를 추가하는 방법을 제공하십시오.

Don’t provide a custom navigation bar. Your extension loads within a modal view that already includes a navigation bar. Providing a second navigation bar is confusing and takes space away from your content.

사용자 정의 네비게이션바를 제공하지 마십시오. 내비게이션바가 이미 포함된 모달뷰 내에서 확장이 로드됩니다. 두 번째 네비게이션바를 제공하면 혼란스럽고 콘텐츠로부터 공간을 빼앗습니다.

For developer guidance, see Document Provider in App Extension Programming Guide.

Document Providers - Extensions - iOS - Human Interface Guidelines - Apple Developer

Last updated