[iOS] 別のアプリからファイルを受け取れるように設定すると変な警告が出る

投稿者: | 2020年4月29日

Info.plistにDocument typesを設定すると下のような警告が出ます。

The application supports opening files, but doesn’t declare whether it supports opening them in place. You can add an LSSupportsOpeningDocumentsInPlace entry or an UISupportsDocumentBrowser entry to your Info.plist to declare support.

これ、LSSupportsOpeningDocumentsInPlaceかUISupportsDocumentBrowserを有効にする必要があるのかと思い、アプリの性質的に、別のアプリのファイルを直接開きたくはないし、別のアプリにDocumentディレクトリ見せたくないし、どうしたものかと思ったのですが、別に、NOに設定しても警告消えるんですね。

コメントを残す

メールアドレスが公開されることはありません。