xcode 7發送NSURLSession請求報錯

控制檯打印: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.安全

是不安全的,要在info.plist文件中添加app

App Transport Security Settings   Dictionary   (1 item)it

                  Allow Arbitrary Loads     Boolean    YESio

相關文章
相關標籤/搜索