iOS9:是否可以在App Store中发布NSAllowsArbitraryLoads = True? [英] iOS9: Will NSAllowsArbitraryLoads=True be allowed for a release in the App Store?

查看:87
本文介绍了iOS9:是否可以在App Store中发布NSAllowsArbitraryLoads = True?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple在iOS 9发行版中更改了其当前的 App Transport Security 模型.此后,我遇到了一个问题,即我的App不再信任某些Web服务,并且将终止并出现错误.我找到了解决此错误的解决方案,并且我想知道添加到 Info.plist 文件中的以下解决方案是否会阻止该应用程序在Apple App Store中发布.

Apple has changed its current App Transport Security model with the release of iOS 9. Since this I have the issue that my App doesn't trust certain web services anymore and will terminate with an error. I found a solution to "fix" this error and I'm wondering if the following solution which I added to the Info.plist file will prevent the App from being released in the Apple App Store.

  <key>NSAppTransportSecurity</key>                                                                                                                                                                                                                                       
  <dict>                                                                                                                                                                                                                                                                  
      <key>NSAllowsArbitraryLoads</key>                                                                                                                                                                                                                                   
      <true/>                                                                                                                                                                                                                                                             
  </dict>   

有人知道吗?

更新:

问题与以下内容重复:

如果NSAllowsArbitraryLoads设置为,则App Store拒绝提交是吗?

推荐答案

当然,它们将允许您使用该设置来提交应用.他们补充说,这是因为某些应用程序必须在不允许非HTTPS请求的情况下才能被释放.禁止未加密的HTTP尚需很长时间.

Of course they'll allow you to submit apps with that setting. They added that override because some apps can't feasibly be released without allowing non-HTTPS requests. It will be a long time before it will be practical to ban unencrypted HTTP.

您可能必须提供一个解释,为什么要使用该异常.

You may have to provide an explanation of why you're using that exception, of course.

这篇关于iOS9:是否可以在App Store中发布NSAllowsArbitraryLoads = True?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆