Proud Member Proud Member - 4 months ago 19
iOS Question

How to enable file sharing for my app?

I have an image editing app where users can apply effects to photos. How could I enable it so that users can see my app in iTunes in the File Sharing tab and then just drag+drop photos to the app?

Some of the eBook readers like Stanza works like this and it would be a cool option. Maybe someone can point out a tutorial or resource that talks about how to enable and use this technique.

Vin Vin
Answer

You just have to set UIFileSharingEnabled (Application Supports iTunes file sharing) key in the info plist of your app. Here's a link for the documentation. Scroll down to the file sharing support part.

You must also define CFBundleDisplayName (Bundle Display Name), if it isn't already there. More details here.

Comments