问题
In the Apps tab of iTunes, there is a 'File Sharing' section with a list of apps that can synchronize their documents with your computer. What do you need to do to tell iTunes to sync your apps Documents folder?
回答1:
Add the UIFileSharingEnabled
key to your Info.plist.
回答2:
For iOS 7/8 and Xcode 6:
- Go to properties of your Target in Xcode.
- Click the Info tab.
- Click the + on the last line under "Custom iOS Properties."
- Type "UIFileSharingEnabled" and press Enter.
- It should change to "Application supports iTunes file sharing."
- Set the Boolean value to YES.
来源:https://stackoverflow.com/questions/3654291/allow-iphone-application-to-sync-with-itunes