I make application with shared folder. User can to save some data in Core Data. I know that it saved in sqlite and it shown in the shared folder. I want that user doesn't see it. How can I hide this sqlite files in shared folder that user will not delete they via iTunes?

1 Answer
You can add a period in front of the file name to make it hidden.
Just rename it from
whatever.sqlite
to
.whatever.sqlite
10 Comments
Alexander Khitev
But all the same will it be shown in shared folder? Or how to make it programmatically?
Leo Dabus
@Alexsander I didn't understand your question. I Said if you name a file or a folder starting with a period it will be hidden
Alexander Khitev
I want that user doesn't see it
Alexander Khitev
I download this project from App Store and I can see it.
Alexander Khitev
Thank you! You very helped me.
|