UNAlertStyle Restricted
If a tool notifies the user via macOS’s notification center the style can no longer be programmatically set to
alert
…onlybanner
.Banners are automatically dismissed which breaks security alert requiring user interaction! 🥲
Note: Apple’s apps can send alerts by default 🤪
It’s frustrating how API limitations like this tend not to get announced or documented.
I’ve always argued against a custom alert pop-up implementation in Malwarebytes for Mac, favoring native notifications instead. But if the user can now miss an important alert about an infection, that’s going to change the equation. 😕