程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> app-iOS 發布被拒 2.23【求助】

app-iOS 發布被拒 2.23【求助】

編輯:編程綜合問答
iOS 發布被拒 2.23【求助】

我現在有些不知所措了。無從下手。求高手幫忙。。。
我的apps 用戶存儲結構如下:
Document:中只存數據庫存,由應用中復制過來使用,加入了NSURLIsExcludedFromBackupKey。
Library/Caches:只存網上下載的數據,數據不再刪除。加入了NSURLIsExcludedFromBackupKey。
tmp:保存兩個錄音文件,app再次啟動後回刪除掉

在IOS發布後被拒給出如下描述:
2.23 - Apps must follow the iOS Data Storage Guidelines or they will be rejected
2.23 Details

On launch and content download, your app stores 6.99MB, which does not comply with the iOS Data Storage Guidelines.

Next Steps

Please verify that only the content that the user creates using your app, e.g., documents, new files, edits, etc. is backed up by iCloud as required by the iOS Data Storage Guidelines. Also, check that any temporary files used by your app are only stored in the /tmp directory; please remember to remove or delete the files stored in this location when it is determined they are no longer needed.

Data that can be recreated but must persist for proper functioning of your app - or because users 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 kCRUFLIsExcludedFromBackupKey attribute.

Resources

To check how much data your app is storing:

- Install and launch your app
- Go to Settings > iCloud > Storage > Manage Storage
- Select your device
- If necessary, tap "Show all apps"
- Check your app's storage

最佳回答:


要用[NSURL fileURLWithPath:url]
而不是用[NSURL URLWithString:url]

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved