![](/img/trans.png)
[英]Xamarin iOS notification with NotificationHub displayed without calling DidReceiveRemoteNotification when app is in background
[英]Xamarin iOS api call fails suddenly when app goes to background or notification panel drawn
In Xamarin iOS, when the api call starts requesting, when we switch app to background or the notification panel is drawn from the top, suddenly api call fails. Api 返回错误请求。前台调用没有问题。 这在 android 中不会发生。 api 调用将在后台成功。 当DidEnterBackground
方法命中时,api 调用将失败。我使用的是 iOS OS 13.6 设备。 Forms 有最新版本。请帮忙...
在 iOS 构建设置中,将 HttpClient 实现选项从 NSUrlSession 更改为 Managed 解决了这个问题!!!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.