1

I have made an iPad application. Now i have a requirement to upload any file into my application shared/document folder from my System through iTunes.

I have learned from this link http://support.apple.com/kb/ht4094 that we can make our application for File Sharing. If our application has enabled File Sharing then our application will be seen under File Sharing Tab in iTunes.

So i want my app to be seen under File Sharing Tabs so that i can share any file into my application.

Please can anybody guide me through this.

Thanks

Shah
  • 4,990
  • 10
  • 48
  • 70

1 Answers1

1

Just define this key in your info.plist file -

<key>UIFileSharingEnabled</key>
    <true/>
saadnib
  • 11,145
  • 2
  • 33
  • 54
  • how can i put a restriction That only allows me to view file with .xyz extension. Can i do it ? – Shah Dec 23 '11 at 07:41
  • i am not 100 percent sure about this but you can do a trick. Use (.) before the file names that you don't want to show in itunes. Its working for me . – saadnib Dec 23 '11 at 07:44
  • ooh ok .. so there is no legal way to let the application view only specific extension of files. :( hmmm – Shah Dec 23 '11 at 07:47
  • By enabling this key, the user can see all files placed the "Documents" directory of your application. The files that you don't want the user to see, shouldn't be placed there, instead use other folders(eg. Library). – Vin Dec 23 '11 at 09:07