iOS9机器上发送http请求会出现
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
如图所示,这样,就能成功发起http请求了。
iOS9机器上发送http请求会出现
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
如图所示,这样,就能成功发起http请求了。