天天看點

iOS: iOS9 beta 請求出現App Transport Security has blocked a cleartext HTTP (http://)

錯誤描述:

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

在iOS9 中,将原http協定改成了https協定,使用 TLS1.2 SSL加密請求資料。

解決方法:

在info.plist 加入key

添加截圖如下:

iOS: iOS9 beta 請求出現App Transport Security has blocked a cleartext HTTP (http://)

:

<a href="https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_13">https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_13</a>

程式猿神奇的手,每時每刻,這雙手都在改變着世界的互動方式!

本文轉自當天真遇到現實部落格園部落格,原文連結:http://www.cnblogs.com/XYQ-208910/p/5142408.html,如需轉載請自行聯系原作者

繼續閱讀