Daltron / NotificationBanner

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

StatusBarNotificationBanner not showing title. #347

Closed jazz-mobility closed 3 years ago

jazz-mobility commented 3 years ago

Hi,

First of all thanks for this great framework. I am trying to use the StatusBarNotificationBanner in my app but somehow it is not showing me the title. Here is my code.

let banner = StatusBarNotificationBanner(title: "Please check your network connection", style: .danger)
banner.autoDismiss = false
banner.titleLabel?.text = "Please check your network connection"

banner.show()

Can you please let me know what I am missing here?

DarkSatyr commented 3 years ago

Try to show it on viewDidApper of your root controller

stale[bot] commented 3 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 3 years ago

This issue has been automatically closed due to inactivity.