Closed rickvdl closed 7 years ago
Are you using UINavigationBar's appearance proxy anywhere in your application code to change its background image? (i.e. UINavigationBar.appearance().setImage(for:)
)
I do, I am setting the background to an empty UIImage to hide the bottom divider.
Op 19 mrt. 2017 om 20:42 heeft Dave Schukin notifications@github.com het volgende geschreven:
Are you using UINavigationBar's appearance proxy anywhere in your application code to change its background image? (i.e. UINavigationBar.appearance().setImage(for:))
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Gotcha. In that case, this appears to be a bug in Buglife SDK. (Oh, the irony...)
We'll release an update tomorrow with a fix for this. :) However, if you require a fix immediately, you can work around this issue by setting the background image to nil specifically for Buglife navigation bars:
let buglifeNavBarType = NSClassFromString("LIFENavigationBar") as! UINavigationBar.Type
buglifeNavBarType.appearance().setBackgroundImage(nil, for: .default)
buglifeNavBarType.appearance().setBackgroundImage(nil, for: .compact)
Thanks for the quick response! Tomorrow should be fine, thanks for the snippet though!
Cheers
Op 19 mrt. 2017 om 21:05 heeft Dave Schukin notifications@github.com het volgende geschreven:
Gotcha. In that case, this appears to be a bug in Buglife SDK. (Oh, the irony...)
We'll release an update tomorrow with a fix for this. :) However, if you require a fix immediately, you can work around this issue by setting the background image to nil specifically for Buglife navigation bars:
let buglifeNavBarType = NSClassFromString("LIFENavigationBar") as! UINavigationBar.Type buglifeNavBarType.appearance().setBackgroundImage(nil, for: .default) buglifeNavBarType.appearance().setBackgroundImage(nil, for: .compact) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
This issue has been resolved in Buglife v1.5.3. Cheers!
Hi,
I'm trying to give the bug reporter's navigation bar a barTintColor, but I can't seem to get it working. I am using the following code for updating the appearance:
Using the following code I expect the navigationbar to be black with red textlabels. But this is the result:
Any idea on what I'm doing wrong? Thanks in advance