I have implemented push notifications for my iPhone application. Everything is working fine. Only problem is when I receive notification during app is in background the iOS notification shows wrong icon for the notification. Like if notification came for App A it shows the icon of App B in notification badge.

What can cause this? Is it certificates problem or what? Any idea?

有帮助吗?

解决方案

if you have some images name like "icon.png", that will be displayed in push notification

其他提示

Few more thing can cause this issue,

If you have used same push profile for two different project. Than also this will happen.

Moreover if you have specified Small-Icon.png in you .plist file than that would be used as a push notification icon in notification screen.

Please make sure this things in your projects.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top