SwiftKickMobile / SwiftMessages

A very flexible message bar for UIKit and SwiftUI.
MIT License
7.3k stars 742 forks source link

Can I get a signal when message view is hiding? #380

Closed mkjwa closed 4 years ago

mkjwa commented 4 years ago

Is it possible to get a signal for hiding a message view?

I need to get a signal after hiding message view. Message View is showing by setting duration. I want to show popup after message view is hidden, but can't get a signal.

mkjwa commented 4 years ago

I found a configuration. SwiftMessages is a very awful solution.

```
config.eventListeners.append() { event in
        if case .didHide = event {

        }
    }
wtmoose commented 4 years ago

Awful?