我正在创建一个应用程序,需要链接到在线存储的 PDF(它太大,无法与应用程序捆绑在一起)。我已将应用程序提交到 AppStore,但当我将 pdf 加载到 UIWebview 中时,它被拒绝了。所以我将其更改为将其加载到 Safari 中,但这也被拒绝了!
有人知道从应用程序链接到互联网上的 PDF 的可接受方式吗?
添加
Apple 在 Safari 中加载的原因是:
We found the following issues with the user interface of your app:
When tapping on various tabs, it opens a web page in mobile Safari.
最佳答案
我想这可能是原因(不确定):
如果您引用App Store Review Guidelines ,其中 2.12 说:
Apps that are not very useful, unique, are simply web sites bundled as Apps, or do not provide any lasting entertainment value may be rejected.
因此,不要在 Safari 中打开它,而是尝试使用单独的 UIViewController 和 UIWebView。并在应用程序本身内部打开您的 pdf 网络链接。 不必要时不要将用户重定向到 Safari 浏览器。
根据您提供的 Apple 报告和审核指南,我猜这可能是拒绝的原因。
为了确保这一点,您可以对收到的带有应用拒绝通知的邮件进行评论。并向苹果本身询问该问题和解决方案。他们通常会回复。
关于ios - 外部 Safari 链接或 UIWebview?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17454404/