Daltron / NotificationBanner

The easiest way to display highly customizable in app notification banners in iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatusBarNotificationBanner onTap not working

mufumade opened this issue · comments

commented

I am trying to perform some action after a StatusBarNotificationBanner was tapped. Unfortunately onTap is not triggered.

If I increase the banner height, taps are registered but only up to the statusbar but not in the status bar area.
It this expected behavior or is this a bug?

banner.dismissOnSwipeUp = false
banner.dismissOnTap = true
banner.autoDismiss = false
banner.bannerHeight = 200
banner.isUserInteractionEnabled = true
banner.onTap = {
    print("Hello World")
}
banner.show()