xamarin.forms iOS中的TrustFailure(对SSPI的调用失败,请参阅内部异常。)

时间:2019-05-31 04:59:28

标签: xamarin.forms xamarin.ios webclient

我试图通过使用xamarin.ios中的WebClient发送Jobid从我的https URL下载文件。所以我在info.plist

中添加了以下权限
     <key>NSAppTransportSecurity</key>
     <dict>
       <key>NSExceptionDomains</key>
     <dict>
    <key>xxxx.xxxxx.com</key>
    <dict>
        <key>NSExceptionAllowInsecureHTTPLoads</key>
        <true/>
        <key>NSExceptionRequiresForwardSecrecy</key>
        <true/>
        <key>NSIncludesSubdomains</key>
        <true/>
        <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
        <true/>
        <key>NSExceptionMinimumTLSVersion</key>
        <string>TLSv1.0</string>
    </dict>
   </dict>
   <key>NSAllowsArbitraryLoadsInWebContent</key>
   <true/>
  <key>NSAllowsArbitraryLoads</key>
  <true/>
  </dict>

,但显示错误:TrustFailure(对SSPI的调用失败,请参阅内部异常。)。我做错了什么?请帮我。

0 个答案:

没有答案
相关问题