对于单个两次推iOS版显示推送通知横幅 [英] iOS Push Notification Banner shown twice for a single Push

查看:241
本文介绍了对于单个两次推iOS版显示推送通知横幅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,在下列行为发送推送通知的结果:

请参阅旗帜是如何出示第二张的时候,一个短暂的延迟后?

起初我还以为我们的后端被误送2推送通知,一前一后。

然而,这似乎是一个单一的推送通知默认的iOS行为。旗帜所示,然后立即再次显示。这导致在GIF所示的本抖动的使用者介面。旗帜似乎接受了两次。

使用的是iOS 9.0.2测试。

我不记得看​​到从该给我推送通知其他应用此行为。我做得不对,将导致旗帜,以显示两次?

雷达:


  

工程已经确定你的bug报告(23133694)是另一个问题(23130766)的副本,将被关闭。



解决方案

根据一个类似的问题这个答案,这个问题被报告为rdar:// 23569779,应固定在iOS的9.3公开发布

修正:

的iOS 9.2.1 β(编译:13D11)

I've noticed that sending a Push notification results in the following behavior:

See how the banner is shown a second time, after a short delay?

At first I thought that our backend was mistakenly sending 2 push notifications, one after the other.

However, this appears to be default iOS behavior for a single Push notification. The banner is shown, then immediately "shown again". This results in this jittery UI shown in the gif. The banner appears to be received twice.

Tested using iOS 9.0.2.

I do not recall seeing this behavior from other apps that send me Push Notifications. Am I doing something wrong that would cause the banner to show twice?

Radar:

Engineering has determined that your bug report (23133694) is a duplicate of another issue (23130766) and will be closed.

解决方案

According to this answer on a similar question, this issue was reported as rdar://23569779 and should be fixed in the iOS 9.3 public release.

Fixed in:

iOS 9.2.1 beta (Build: 13D11)

这篇关于对于单个两次推iOS版显示推送通知横幅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆