傳輸安全性已阻止明文HTTP - Transport security has blocked a cleartext HTTP

問題:

What setting do I need to put in my info.plist to enable HTTP mode as per the following error message? 根據如下錯誤消息,我須要在info.plist添加什麼設置才能啓用HTTP模式? 安全

Transport security has blocked a cleartext HTTP (http://) resource load since it is insecure. 傳輸安全性因爲不安全,阻止了明文HTTP(http://)資源加載。 Temporary exceptions can be configured via your app's Info.plist file. 能夠經過應用程序的Info.plist文件配置臨時異常。 app

Xcode

Assume that my domain is example.com . 假設個人域名是example.com dom


解決方案:

參考一: https://stackoom.com/question/278mT/傳輸安全性已阻止明文HTTP
參考二: https://oldbug.net/q/278mT/Transport-security-has-blocked-a-cleartext-HTTP
相關文章
相關標籤/搜索