錯誤描述: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via you ...
錯誤描述:
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.
在iOS9 beta中,蘋果將原http協議改成了https協議,使用 TLS1.2 SSL加密請求數據。
解決方法:
在info.plist 加入key。如下圖