Allow iPhone application to sync with iTunes

2020-07-24 04:59发布

问题:

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:

  1. Go to properties of your Target in Xcode.
  2. Click the Info tab.
  3. Click the + on the last line under "Custom iOS Properties."
  4. Type "UIFileSharingEnabled" and press Enter.
  5. It should change to "Application supports iTunes file sharing."
  6. Set the Boolean value to YES.