如何将 IOS 徽章通知颜色从默认红色更改为其他颜色? [英] How to change IOS badge notification colour from default Red to other colours?

查看:25
本文介绍了如何将 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

这篇关于如何将 IOS 徽章通知颜色从默认红色更改为其他颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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