Bot releases are hidden (Show)
Published by Daltron over 2 years ago
Published by Daltron over 3 years ago
โข SPM 3.0.6 Support
Published by Daltron over 4 years ago
Published by Daltron about 5 years ago
โข Fixed issue on all banner types where the banner would be covered up by the status bar on all non notch devices. It appears the status bar can no longer be directly hidden in iOS 13 anymore.
โข A huge shoutout to all who who contributed to iOS 13 support
โข An even larger shoutout to @mrsnow-git who implemented stacked banners! ๐ ๐
Published by Daltron over 5 years ago
โข FloatingNotificationBanner's now support custom views
โขย All notification banners now have a transparency property that can be changed to give them a new sleek look
Published by Daltron over 5 years ago
Published by Daltron almost 6 years ago
โข Added a new banner type FloatGrowingNotificationBanner
. (Huge thanks to @mrsnow-git! ๐ ๐ ๐ )
โข Added a function to reset a banner's elapsed duration to zero. (Thanks @ecastillo! ๐)
โข Fixed an issue within the NotificationBannerUtilities
class. (Thanks @Lausbert! ๐)
โข Updated podspec to use SnapKit 4.2.0
. (Thanks @anelad! ๐)
Published by Daltron almost 6 years ago
GrowingNotificationBanner
A HUGE thanks to @forceunwrap for implementing this feature! ๐ ๐ ๐
Published by Daltron about 6 years ago
โข Swift 4.2 Support ๐ ๐ ๐ Thanks @spadafiva!
โข Can now remove banners from the banner queue. Thanks @mixo44!
โข Better notch support handling for iPhones. Thanks @joseantoniogarciay!
Published by Daltron over 6 years ago
โขย Fixed a bug causing notification banners not to auto rotate correctly if their bannerPosition
was .bottom
. Thanks @valexa! ๐ ๐ ๐
Published by Daltron over 6 years ago
By default, each notification banner is placed onto a singleton of an auto-managed NotificationBannerQueue. This allows an infinite amount of banners to be displayed without one hiding the other. If you have multiple controllers within your navigation stack that need to be managed by a seperate queue (like a tab bar controller), simply create an instance of a NotificationBannerQueue and pass it in to the show function:
banner.show(queue: customQueue)
Thanks to @t4ec for the feature request! ๐ ๐ ๐
Published by Daltron almost 7 years ago
โข StatusBarNotificationBanner
's are now 50px tall on iPhone X by default. Thanks @btelintelo! ๐
Published by Daltron almost 7 years ago
โข Fixed a bug causing notification banners not to appear correctly on iPhone X's if the navigation bar was hidden. Thanks @pikachu987! ๐ ๐
Published by Daltron about 7 years ago
Published by Daltron about 7 years ago
โข iPhoneX is now supported
Closes #49 ๐
Thanks @JoniVR! ๐
Published by Daltron about 7 years ago
The following banner related notifications will be posted to NotificationCenter:
BannerNotification.BannerWillAppear
BannerNotification.BannerDidAppear
BannerNotification.BannerWillDisappear
BannerNotification.BannerDidDisappear
The banner object can be retrieved from the notification as follows:
func onBannerNotification(notification: Notification) {
guard let banner = notification.userInfo?[NotificationBanner.BannerObjectKey] as? BaseNotificationBanner else {
return
}
// Do something with the banner
}
Published by Daltron about 7 years ago
โข Can now remove all banners from the NotificationBannerQueue by calling NotificationBannerQueue .default.removeAll()
Closes #44 ๐
Thanks @ashokkumars! ๐
Published by Daltron over 7 years ago
Changes:
If you are wanting to show a banner from the bottom, simply:
banner.show(bannerPosition: .bottom)
All existing properties that the show function takes can be mixed and matched to work flawlessly with each other!
Closes #31 ๐
Thanks @scottcc! ๐
You can choose to opt into a notification banner's events by registering as its delegate:
banner.delegate = self
Then just make sure to implement the following methods:
internal func notificationBannerWillAppear(_ banner: BaseNotificationBanner)
internal func notificationBannerDidAppear(_ banner: BaseNotificationBanner)
internal func notificationBannerWillDisappear(_ banner: BaseNotificationBanner)
internal func notificationBannerDidDisappear(_ banner: BaseNotificationBanner)
Closes #32 ๐
Thanks @Marlon-Monroy! ๐
New CocoaPods Release: v1.4.0 โ