In macOS, when using UNMutableNotificationContent to send notifications, clicking on the notification (or the buttons on the notification) will automatically activate the window. How can this be prevented? Clicking on the notification only triggers the click event and does not activate the window.
Problems with the use of UNMutableNotificationContent in the macOS system
How can I click on the notification without activating the window? 。 Don't bring the window to the front.