如何将 IOS 徽章通知颜色从默认红色更改为其他颜色?
问题描述:
默认的 APNS 允许在我们的应用图标顶部以红色背景显示一个数字(徽章),以表明有新通知.
The default APNS allows a number (badge) to appear in Red background on top of our app icon to state that there is a new notification.
有没有办法根据后端服务器输出将红色背景更改为任何其他颜色?
Is there a way to change the Red colour background to any other colours based on the backend server output?
答
我认为公共 iOS SDK API 不可能做到这一点
I don't believe this is possible with public iOS SDK APIs