gpt4 book ai didi

ios - 拒绝 iOS 应用程序原因 : Data Storage Guidelines

转载 作者:行者123 更新时间:2023-11-28 22:49:14 24 4
gpt4 key购买 nike

我下载了一些数据并将其保存到 Library/PrivateDocuments 目录。我在这个 Library/PrivateDocuments 目录中下载的每个文件都设置了“不备份”属性。苹果仍然说:

"In particular, we found that on launch and/or content download, your app stores too much data (10.3 MB after app launch) in the incorrect location. To check how much data your app is storing:


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."

p.s 我需要那些文件留在那里.. 首先我检查文件,如果其中一些不存在我下载它们。所以它们不是临时文件,我不想删除它们..我不知道该怎么办..如果你熟悉这个问题请给我一个提示..谢谢。

最佳答案

我使用 NSCachesDirectory (Library/Caches) 并且在 apple 上从来没有遇到过问题。

关于ios - 拒绝 iOS 应用程序原因 : Data Storage Guidelines,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12368889/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com