peterprokop / SwiftOverlays

SwiftOverlays is a Swift GUI library for displaying various popups and notifications
MIT License
631 stars 83 forks source link

added a method to close all notification on top status bar #32

Open rennyrun opened 7 years ago

rennyrun commented 7 years ago

Hi, I want to remove all showing notification before show another one. Because somehow when I show another notification without close last notification, its not removed from superview (bannerWindow). I'm not sure this is the correct approach, but it's working in my case