Question

I recently had my application rejected, by Apple for:

"Your app has the UIFileSharingEnabled key set to true in the Info.plist, but files and folders not intended for file-sharing are contained within its Documents folder..."

I am storing my application data in the documents directory, images and the core data database. This is a very simple progress, that allows the user to backup and import data. Below are the major steps:

  1. The user can backup the data, which zips the folder.
  2. The user can then use iTunes file sharing to take out the backup.
  3. The user can import, the zip file which overwrites the data in the documents directory.

Has anyone else experienced similar issues? It seems like I am using this correctly.

Était-ce utile?

La solution

You should put the zip file in the Documents folder, not any other files. The fact that you also put your core-data files (and some of the other files the user shouldn't see) in the Documents folder is why it was rejected.

You can store any files that the user shouldn't see in another folder such as the Application Support folder.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top