How to add buttons to the banner?
Hello,
I like your project, it is easy and fast to use ^^
I have a question: Is it possible to put buttons in the banner like this ?

If it's possible, how ?
Thx for your help ^^
Hi @ins0u! 😄 You will need to create a custom view with the buttons then when you initialize your banner, use the NotificationBanner(customView: yourCustomView) initializer.
Yes that's what I understood by downloading the examples..
With NorthCarolinaBannerView, you create your custom view programmatically but how create view with storyboard/xib ? If you have a quick example, I can easily adapt it :D
Sorry for my question, I am a beginner with swift/xcode and thank you for your help :)
Ok.. New Problem..
I create my customView with success.
This is my code :

To use it, this is my code :
let maCustomView = BannerEtesVousEnSecuriteView()
let banner = NotificationBanner(customView: maCustomView)
banner.autoDismiss = false
banner.show()
But I have a little problem with the result :

Why my customView does not come down below the buttons like in my xib ? :/ Have you an idea ? :)
Hey @ins0u, easy way change banner.bannerHeight = 100. Best way set constraint and calculate height like GrowingBannerView
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.
This issue has been automatically closed due to inactivity.