报错:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

 

解决办法:

在info.plist 加入key

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

解决办法:修改info.plist文件

iOS9 关于明文HTTP报错的修复方法

 

相关文章:

  • 2021-07-16
  • 2021-10-28
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-04-21
  • 2021-04-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-10-13
相关资源
相似解决方案