StatusBarNotificationBanner onTap not working
mufumade opened this issue · 0 comments
mufumade 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()