How to check iOS storage principles

Our application was rejected for the following reason.

We also found that your application does not support the iOS Data Warehouse Recommendations required by the App Store Review Guide.

In particular, we found that when downloading and / or downloading content from the App Store 6.1MB. To check how much data is stored in your application:

  • Install and run the application
  • Go to Settings> iCloud> Storage and Backup> Storage Management
  • If necessary, tap "Show all applications"
  • Check application store

IOS storage guides indicate that only content the user creates your application, such as documents, new files, changes, etc. Must be supported by iCloud.

Temporary files used by your application should only be stored in the / tmp directory; do not forget to delete files stored in this place when the user exits the application.

Data that can be recreated, but must be saved for your application to function properly — or because customers expect it to be available for offline use — should be marked with the “do not back up” attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.

NSDocument, , iOS Data Storage Guidelines NSURLIsExcludedFromBackupKey, . .

, ios. - , ?

+4
2

Apple, , iOS 8.

iOS, /Library/Caches, Q & A , , .

, , , Apple , , :

  • > iCloud > >
  • " "
+1

, .

, temp cache - .

0

Source: https://habr.com/ru/post/1532283/


All Articles