SQLite データベースを使用して iOS アプリを作成しました...
このために、Apple のガイドラインを読んだところ、「ユーザーは /Documents ディレクトリにファイルを保存できる」ことがわかりました。
私のアプリケーションでは、シングル モード ログインを使用しています。このために、すべてのユーザー データ (基本的には Sqlite db) を Documents ディレクトリに保存しています。データベースは、Web からのダウンロードに関する詳細を含む同じディレクトリにも存在します。
My question is,
1. Should I have to change the storing file location instead of to the Documents directory?
2. Where should my database file be placed?
3. don't want to delete database file after user deleting Apps.(if user installed again i want to show that same db)
ユーザーがデバイスからアプリを削除すると、 Documents ディレクトリに配置すると、すべてのファイルが削除されます。
この問題について教えてください。前もって感謝します。