Master Data and iTunes File Sharing - Move / hide .sqlite file when updating application?

I have an iPad app that uses Core Data to store data. I would like to enable file sharing in iTunes, and I do not want users to be able to delete or modify the .sqlite file.

Can I move a file to another hidden directory?

Alternatively, can the file be read-only? I would not ask users to have access to the file if it cannot be modified.

I suspect there is a trivial solution that is eluding me at the moment.

+3
source share
1 answer

. , , . ( iTunes) .

+2

Source: https://habr.com/ru/post/1782531/


All Articles