iOS 9 “App Transport Security has blocked a cleartext HTTP (http://) resource load” 的解決方法

當使用 Xcode 7 編譯 Base SDK 為 iOS 9 的 iOS App 時,出現錯誤:

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.

原因是 iOS 9 預設了一項限制,所有網絡連接都必須使用 HTTPS 加密協議 繼續閱讀 iOS 9 “App Transport Security has blocked a cleartext HTTP (http://) resource load” 的解決方法