ios存储网络下载的大数据被appstore拒绝解决方案
2014-10-15 15:42
344 查看
今天起床,发现上周发布的app遭拒绝了。下面是resolution center的回复:
----- 2.23 -----
We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App
Store Review Guidelines.
In particular, we found that on launch and/or content download, your app stores 79.27MB. To check how much data your app is storing:
- Install and launch your app
- Go to Settings > iCloud > Storage & Backup > Manage Storage
- If necessary, tap "Show all apps"
- Check your app's storage
The iOS Data Storage Guidelines indicate that only content that the user creates using your app, e.g., documents, new files, edits, etc., should be backed up by iCloud.
Temporary files used by your app should only be stored in the /tmp directory; please remember to delete the files stored in this location when the user exits the app.
Data that can be recreated but must persist for proper functioning of your app - 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.
For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud
and iTunes?.
It is necessary to revise your app to meet the requirements of the iOS Data Storage Guidelines.
----- 2.23 -----
We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App
Store Review Guidelines.
In particular, we found that on launch and/or content download, your app stores 79.27MB. To check how much data your app is storing:
- Install and launch your app
- Go to Settings > iCloud > Storage & Backup > Manage Storage
- If necessary, tap "Show all apps"
- Check your app's storage
The iOS Data Storage Guidelines indicate that only content that the user creates using your app, e.g., documents, new files, edits, etc., should be backed up by iCloud.
Temporary files used by your app should only be stored in the /tmp directory; please remember to delete the files stored in this location when the user exits the app.
Data that can be recreated but must persist for proper functioning of your app - 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.
For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud
and iTunes?.
It is necessary to revise your app to meet the requirements of the iOS Data Storage Guidelines.
- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { assert([[NSFileManager defaultManager] fileExistsAtPath: [URL path]]); NSError *error = nil; BOOL success = [URL setResourceValue: [NSNumber numberWithBool: YES] forKey: NSURLIsExcludedFromBackupKey error: &error]; if(!success){ NSLog(@"Error excluding %@ from backup %@", [URL lastPathComponent], error); } return success; }
相关文章推荐
- Android(五)数据存储之五网络多线程断点下载-世事如棋,乾坤莫测,笑 ...  -  棒槌网@Android开发论坛 - Powered by
- iOS网络编程-iCloud键值数据存储编程实例
- iOS基础8:自定义MyData/自定义SQLite用于网络判断,版本判断,图片缓存处理,下载或者上传的GET或POST请求,加密手段,.数据解析
- iOS开发 ----- 网络请求4 ----- 下载数据以及断点续传
- iOS经验1:自己写的网络数据请求 第三方框架 断点续传 上传下载
- iOS网络编程-iCloud键值数据存储编程实例
- Android(五)数据存储之五网络多线程断点下载
- iOS网络 AFN简单的下载 与 session下载带进度数据
- ios开发之网络数据的下载与上传
- ios开发进阶之网络04 数据解析 文件下载上传
- iOS网络编程-iCloud键值数据存储编程实例
- Android(五)数据存储之五网络多线程断点下载
- 只要不涉及到网络数据下载,ios 应用程序的运行速度还是蛮快的。当你的程序还是运行缓慢时,一定要要留意,是否有访问网络。
- iOS之网络数据下载和JSON解析
- 如何利用网络附加存储设备(NAS)构建数据备份(本地及远程数据备份)、数据容灾解决方案
- iOS网络编程-iCloud键值数据存储编程实例
- [IOS]网络操作+图片的下载和读取+json数据读取
- AF ios开发之网络数据的下载与上传
- iOS网络编程-iCloud键值数据存储编程实例
- IOS之网络数据下载和JSON解析