Daltron / NotificationBanner

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

Customizable top offset for StatusBarNotificationBanner #255

Closed TemperMichael closed 4 years ago

TemperMichael commented 4 years ago

Currently the StatusBarNotificationBanner has a fixed top offset for the title since iOS 13 does not allow covering the status bar on non-notch iPhones. The problem is, that with this offset, the banner can cover items/the title of the navigation bar - and if you change the bannerHeight, the text in the NotificationBanner gets cut. Therefore, it would be useful if the top offset would be public/customizable to fit the banner accordingly to the top of the view in which it is used. As default the statusbar height could be used.

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

This issue has been automatically closed due to inactivity.