在swift 2.3中使用Alamofire调用webservice时出错

时间:2017-10-11 09:46:14

标签: ios swift

我是swift 2.3

的新手

我在调用webservice时遇到此错误..

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.

1 个答案:

答案 0 :(得分:0)

请在项目的.plist中添加App Transport Security属性 像这样ScreenShot