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 beta1中,蘋果將原h(huán)ttp協(xié)議改成了https協(xié)議犹撒,使用 TLS1.2 SSL加密請求數(shù)據(jù)识颊。
解決辦法:在info.plist中添加
NSAppTransportSecurity
NSAllowsArbitraryLoads ? ? ? ?