Skip to content

NotificationBanner Release v1.3.0

Compare
Choose a tag to compare
@Daltron Daltron released this 08 Jun 22:36
· 300 commits to master since this release

Changes:

Banners can now be shown underneath a navigation bar

If you are wanting to show a banner below a navigation bar, simply show on the view controller that is within the navigation system:

banner.show(on: viewController)

Closes #16 🎉

Banners can now be shown infinitely until they are manually dismissed

To show a banner infinitely until it is manually dismissed, simply:

banner.autoDimiss = false

Closes #19 🎉

Haptic Feedback support

By default, when a banner is displayed, a haptic feedback will be generated on devices that support it. The types of haptic feedback are as follows:

public enum BannerHaptic {
    case light
    case medium
    case heavy
    case none
}

To change the type of haptic feedback to generate when a banner is shown, simply:

banner.haptic = .heavy

Closes #15 🎉

New CocoaPods Release: v1.3.0 ✅
Thanks @nick-iCars! 👍