[英]My issue is that I am unable to make any network request in ios 13 and xcode 11
I have created an app for my client about Forex.我为我的客户创建了一个关于外汇的应用程序。 My app was running well in IOS 12 but when i install my app on IOS 13 simulator it doesn't make any network request.我的应用程序在 IOS 12 中运行良好,但是当我在 IOS 13 模拟器上安装我的应用程序时,它不会发出任何网络请求。
Alamofire.request(URL_USER_LOGIN, method: .post, parameters:params).responseJSON { response in
if response.result.isSuccess {
let response : JSON = JSON(response.result.value!)
if response[0]["response"].intValue == 1 {
print("Success")
}
else {
print("Error")
}
}
else {
print("Connection Error")
}
}
Update Alamofire to the latest version.将 Alamofire 更新到最新版本。 If you're using cocapods you can update your pod, pod update Alamofire
如果你使用 cocapods,你可以更新你的 pod, pod update Alamofire
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.