iOS Data Storage Guidelines
iOS Data Storage Guidelines - Apple Developer iCloud includes Backup, which automatically backs up a user’s iOS device daily over Wi-Fi. Everything in your app’s home directory is backed up, with the exception of the application bundle itself, the caches directory, and temp directory. Purchased music, apps, books, the Camera Roll, device settings, home screen and app
organization, messages, and ringtones are backed up as well. Because backups are done wirelessly and stored in iCloud for each user, it’s best to minimize the amount of data that’s stored for your app. Large files will lengthen the time it takes to perform a backup and consume more of a user’s available iCloud storage.
To ensure that backups are as efficient as possible, be sure to store your app’s data according to the following guidelines:
1. Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the
<Application_Home>/Documents directory and will be automatically backed up by iCloud.
2. Data that can be downloaded again or regenerated should be stored in the
<Application_Home>/Library/Caches directory. Examples of files you should put in the Caches directory include database cache files and downloadable content, such as that used by magazine, newspaper, and map applications.
3. Data that is used only temporarily should be stored in the
<Application_Home>/tmp directory. Although these files are not backed up to iCloud, remember to delete those files when you are done with them so that they do not continue to consume space on the user’s device.
4. Use the "do not back up" attribute for specifying files that should remain on device, even in low storage situations. Use this attribute with data that can be recreated but needs to persist even in low storage situations for proper functioning of your app or because customers expect it to be available during offline use. This attribute works on marked files regardless of what directory they are in, including the Documents
directory. These files will not be purged and will not be included in the user's iCloud or iTunes backup. Because these files do use on-device storage space, your app is responsible for monitoring and purging these files periodically. For more information read the .
Ag Storage Guidelines.pd... 32页 免费 iOS Data Storage Guideli... 暂无评价 1页 2财富值 Q2686_Process_Customer_G... 30页 5财富值 HSE_Chapter13_...
Ag Storage Guidelines.pd... 32页 免费 iOS Data Storage Guideli... 暂无评价 1页 2财富值 Storage-Shipping_Guideli... 暂无评价 3页 2财富值 Chemical ...
2.23 Apps must follow the iOS Data Storage Guidelines or they will be rejected (加入 iCloud 支持后,应用必须遵守 iOS 数据存储指南( iOS Data Storage ...
2.23? Apps must follow the iOS Data Storage Guidelines or they will be rejected (加入 iCloud 支持后,应用必须遵守 iOS 数据存储指南( iOS Data Storage ...
42页 5财富值 iOS Data Storage Guideli... 暂无评价 1页 2财富值... Data Preparation, File Upload and Data Submission Guidelines of the Research...
2.23 加入iCloud支持后,应用必须遵守iOS数据存储指南( iOS Data Storage Guidelines)否则将被拒。 ) 2.24 在Newsstand里提交的应用必须遵守Developer Program ...
2.23 应用必须遵守iOS数据储存指导方针(iOS Data Storage Guidelines ),否则应用将被拒。 2.24 存放在Newsstand的应用必须遵守开发者项目许可协议(Developer Program...
42页 5财富值 iOS Data Storage Guideli... 暂无评价 1页 2财富值... Data Preparation, File Upload and Data Submission Guidelines of the Research...
热门文档