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.