Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否有选项打开Bark就可以清除掉通知中心的通知 #134

Closed
ericcug opened this issue Feb 4, 2022 · 1 comment
Closed

可否有选项打开Bark就可以清除掉通知中心的通知 #134

ericcug opened this issue Feb 4, 2022 · 1 comment

Comments

@ericcug
Copy link

ericcug commented Feb 4, 2022

有时候消息太多,点击通知中心消息,点一条消失一条,或者左划清除。
AppDelegate.swift中
// 设置 -1 可以清除应用角标,但不清除通知中心的推送
// 设置 0 会将通知中心的所有推送一起清空掉
UIApplication.shared.applicationIconBadgeNumber = -1
这个是否可以做成选项?

@Finb
Copy link
Owner

Finb commented Jan 6, 2025

考虑到推送现在将会按分组折叠,可以一次性删除所有推送,并且我不太想给APP增加配置项导致APP逐渐变得复杂,这个issue打算关闭并考虑不支持这个功能了。感谢建议!

@Finb Finb closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants