gpt4 book ai didi

objective-c - 如何在 iOS 中使用数字通知 "bubble"?

转载 作者:可可西里 更新时间:2023-11-01 06:23:50 25 4
gpt4 key购买 nike

我想使用 iOS 通知图像(应用图标上显示的数字气泡)。我该怎么做?

enter image description here

最佳答案

这可以通过 local or push notification 来完成或设置 application badge number property .

[UIApplication sharedApplication].applicationIconBadgeNumber = 10;

关于objective-c - 如何在 iOS 中使用数字通知 "bubble"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6944167/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com