简体   繁体   English

将通知数量作为应用程序图标上的徽章值进行计数是强制性的吗?

[英]Is it compulsory to count number of notifications as a badge value on an app icon?

I develop an application that sends push notifications to iOS devices. 我开发了一个将推送通知发送到iOS设备的应用程序。 It is not important (~useless) in my case to count the number of notifications on the app icon badge, as they are not those kind of messages. 在我的情况下,计算应用程序图标徽章上的通知数量并不重要(〜无用),因为它们不是那种消息。

Is it allowed by Apple NOT to increment or show show the notification count on the bade when getting a push notification? Apple是否允许在获得推送通知时不增加或显示通知上的通知计数? Or is it compulsory by Apple design rules? 还是Apple设计规则中的强制性规定?

You are allowed to do whatever you want with the app icon. 您可以使用应用程序图标来做任何您想做的事情。 The icon is not a count of received notifications. 该图标不是接收到的通知的计数。 Instead, it's typically a count of actionable things to do within the app (where an action may very well be to read the notification message). 取而代之的是,通常是在应用程序中要做的一些可操作的事情(其中一个操作很可能是阅读通知消息)。

If, when launching your app, the user is presented with a list of notifications they missed, then it's probably a good idea to badge the app. 如果在启动您的应用程序时,向用户显示了他们错过的通知列表,那么标记应用程序可能是一个好主意。 But from your description it sounds like that's not the case. 但是从您的描述来看,事实并非如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM