0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

iOSのファイルアプリからDocumentsフォルダを参照する

0
Posted at

背景

ファイルダウンロード機能の実装のデバッグ目的でDocuments/を確認したい。

方法

Info.plistに以下の設定を追加する。

<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>

確認

ファイルアプリを開き、「このiPhone内」→「アプリ名」で対象フォルダが参照できる。

注意

デフォルトでRealmのファイルが保存されていたりするので、ユーザーへ公開する場合は注意する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?