Yun
Yun

Reputation: 5473

Useful USB file transfer on iOS - How to hide some files?

I am building the iPhone application, which will support the USB file transfer function.

I modified the .plist file. And now I can see the files in Documents directory of my own iPhone application, through iTunes on Mac.

Everything is okay. However, there are some important files, which shouldn't show to the users, such as the configuration file, the database file and so on.

So here is my question - is it possible to hide some files?

Just easily, I can keep the important files out of the Documents directory. But when I update the application from appstore, these will be deleted.

Thank you.

Upvotes: 1

Views: 284

Answers (1)

Yun
Yun

Reputation: 5473

I tried to prefix the files with a dot. And it works great.

Thank you, DanZimm.

Upvotes: 2

Related Questions