mirror of
https://github.com/Finb/Bark.git
synced 2026-04-25 22:15:52 +03:00
[GH-ISSUE #134] 可否有选项打开Bark就可以清除掉通知中心的通知 #123
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ericcug on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/Finb/Bark/issues/134
有时候消息太多,点击通知中心消息,点一条消失一条,或者左划清除。
AppDelegate.swift中
// 设置 -1 可以清除应用角标,但不清除通知中心的推送
// 设置 0 会将通知中心的所有推送一起清空掉
UIApplication.shared.applicationIconBadgeNumber = -1
这个是否可以做成选项?
@Finb commented on GitHub (Jan 6, 2025):
考虑到推送现在将会按分组折叠,可以一次性删除所有推送,并且我不太想给APP增加配置项导致APP逐渐变得复杂,这个issue打算关闭并考虑不支持这个功能了。感谢建议!