简体   繁体   English

二进制再次被拒绝。 怎么做?

[英]Binary Rejected once again. How to do?

I did below changes in my code on every path but once again the Binary was rejected.我在每条路径上的代码中都做了以下更改,但二进制文件再次被拒绝。

NSURL *URL = [NSURL fileURLWithPath:photoPath];
[URL setResourceValue:@(YES) forKey:NSURLIsExcludedFromBackupKey error:nil];

1) First Rejection : 1) 第一次拒绝

On launch and content download, your app stores 38+ MB on the user's iCloud, which does not comply with the iOS Data Storage Guidelines.在启动和内容下载时,您的应用程序在用户的 iCloud 上存储了 38+ MB,这不符合 iOS 数据存储指南。

2) Second Time Rejection : 2) 第二次拒绝:

On launch and content download, your app stores 17+ on the user's iCloud, which does not comply with the iOS Data Storage Guidelines.在启动和内容下载时,您的应用会在用户的 iCloud 上存储 17+,这不符合 iOS 数据存储指南。

Please tell me how to fix it?请告诉我如何修复它?

You are using iCloud wrongly.您错误地使用了 iCloud。 See this by Apple: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/iCloud.html苹果看到这个: https : //developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/iCloud.html

Respect the user's iCloud space.尊重用户的 iCloud 空间。 It's important to remember that iCloud is a finite resource for which users pay.重要的是要记住,iCloud 是用户付费的有限资源。 You should use iCloud for storing information that users create and understand, and avoid using it to store app resources or content that you can regenerate.您应该使用 iCloud 来存储用户创建和理解的信息,并避免使用它来存储您可以重新生成的应用程序资源或内容。 Also, note that when the user's iCloud account is active, iCloud automatically backs up the contents of your app's Documents folder.另请注意,当用户的 iCloud 帐户处于活动状态时,iCloud 会自动备份您应用程序的 Documents 文件夹中的内容。 To avoid using up too much of the user's space, it's best to be picky about the content you place in the Documents folder.为避免占用过多用户空间,最好对放置在 Documents 文件夹中的内容有所挑剔。

Use minimal amount of iCloud space and avoid using iCloud to store resources and other data which you can reproduce later, in iCloud space.使用最少的 iCloud 空间,并避免使用 iCloud 在 iCloud 空间中存储资源和其他您可以在以后重现的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM