i want to integrate itunes file sharing into my app. I know that i just need to set true UIFileSharingEnabled in info.plist. But it make all files and directories in /Documents from my app is show in itunes file sharing. I just want to share a directory tree listing in itunes file sharing.
This is a screenshoot of my /Documents (i got it from iphone simulator directory but it is same for the device)
from that pictures, i just want to share the all files in Project directory without showing Project directory itself.
Can i do that? Please help me to solve this.
Thank you, Risma
I don't think you can alter what is shared when you enable file sharing by using the UIFileSharingEnabled
key in Info.plist
.
However I suggest that you revamp your content so that application specific content go into the Library
folder such as the database file and other non-user stuff. You might want to go through this
for identifying which folders are backed up by iTunes.