I show FloatingNotificationBanner like this (cfr code)
The first time a banner is shown, there is a flicker.
Happens on iOS 17 & 18 (I don't know for earlier versions of iOS).
I use the latest version of this package.
I tried this partially related solution, without success: #424
static func showSuccessBanner(title: String, subtitle: String) {
DispatchQueue.main.async {
let banner = FloatingNotificationBanner(title: title,
subtitle: subtitle,
titleFont: UIFont.systemFont(ofSize: 14.0, weight: .semibold),
subtitleFont: UIFont.systemFont(ofSize: 12.0),
style: .success
)
banner.backgroundColor = .systemGreen
banner.haptic = .none
// Show the banner
banner.show(cornerRadius: 12.0)
}
}
Am I doing something wrong? It did not happen before (this issue started quite a long time ago, but before there was no issue).
I show FloatingNotificationBanner like this (cfr code)
The first time a banner is shown, there is a flicker.
Happens on iOS 17 & 18 (I don't know for earlier versions of iOS).
I use the latest version of this package.
I tried this partially related solution, without success: #424
Am I doing something wrong? It did not happen before (this issue started quite a long time ago, but before there was no issue).