Search code examples
iphonefileipaditunesfile-sharing

file sharing on iphone/ipad?


I want my app to share files via itunes file sharing. Right now all of the Documents folder is exposed to the user. The problem is that there are certain files there (let's say these are "System files") that I don't want to expose. What should I do? And if it's not possible to "hide" files, where do you think it's best to put "System files"? In the Library folder?

Thanks


Solution

  • Yes, the Library folder is a good choice. The Documents folder should be reserved for the user's documents. Alternatively, you can prefix the filenames of your "system files" with a . or put them in a .hidden subfolder of the Documents folder. Those hidden files are currently not shown in iTunes AFAIK.