iOS9機(jī)器上發(fā)送http請(qǐng)求會(huì)出現(xiàn)
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加入的https
需要找到工程的info.plist
如圖所示,這樣弧圆,就能成功發(fā)起http請(qǐng)求了屋剑。