iOS UIFileSharingEnabled Property List Flag

Here’s a tip for you iOS developers. Have you ever noticed how some apps let you copy files back and forth between their Documents directories and your computer from within iTunes? It’s very easy to implement it yourself. As a matter of fact, it’s just a boolean switch in your app’s plist file.

All you have to do is open the plist file in your Xcode project and add the key UIFileSharingEnabled with a value of YES. iTunes will display any files in your application’s Documents folder and allow you to copy them to your computer, or vice versa.

This is a feature I would like to see more developers implement. It would be great for things like games or other apps that don’t sync with a web service, as it provides a convenient way to back up your progress (e.g. game save files).