Xcode7 使用NSURLSession發送HTTP請求報錯spa
由於須要https的支持code
修改添加 info.plist文件以下it
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>