Daltron / NotificationBanner

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

Banners overlap with each other on iPhone 12 mini portrait. #351

Closed Water-zi closed 3 years ago

Water-zi commented 3 years ago

I have a button which will add a notification banner to the top of the screen. When I tap the button repeatedly, it supposed to show the banners like the "Stacked Banners" in readme.md but it didn't. The banners overlap with each other unless I add "banner.layer.masksToBounds = true" in my code. And when I use FloatingNotificationBanner, it do not have a rounded corner and the shadow like the gif shows in readme.md. It would be greate if you can tell me how to fix this. Thanks!

My code: let banner = FloatingNotificationBanner(title: "用户名和密码不能为空", style: .warning) banner.show(queuePosition: .front)

Screenshot: IMG_92C2CCEF3E70-1

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.