Daltron / NotificationBanner

The easiest way to display highly customizable in app notification banners in iOS
MIT License
4.78k stars 662 forks source link

Showing notification banner makes 'custom' UIWindow disappear #285

Closed wiencheck closed 4 years ago

wiencheck commented 4 years ago

I have added another UIWindow on top of my app's main window and when NotificationBanner displays the window disappears, no matter what .windowLevel it has set. The code for window looks like this:

        searchWindow = UIWindow()
        searchWindow.windowLevel = .normal
        searchWindow.backgroundColor = .clear
        searchWindow.rootViewController = rootViewController
        searchWindow.makeKeyAndVisible()

If I set the .windowLevel to .alert the window doesn't disappear but the banners are not visible. I tried setting the .windowLevel to both .normal and .statusBar and added +1 but the issue still existed

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed due to inactivity.

fukemy commented 3 years ago

hi buddy, did u solved that?