Reputation: 19
I have this weird behavior on my navigationBar:
And I don't know how to fix it.
My settings on storyboard are:
I want the bar tint to be .clear so I can have the perfect blur effect.
Any ideas?
Thanks for your attention.
Upvotes: 1
Views: 51
Reputation: 247
try these settings it may help
self.navigationController?.navigationBar.isOpaque = true
UIApplication.shared.statusBarView?.backgroundColor = UIColor.init(red: 180/255, green: 40/255, blue: 56/255, alpha: 1.0)
self.navigationController?.navigationBar.barTintColor = UIColor.init(red: 180/255, green: 40/255, blue: 56/255, alpha: 1.0)
self.navigationController?.navigationBar.isTranslucent = true
self.navigationController?.view.backgroundColor = UIColor.init(red: 180/255, green: 40/255, blue: 56/255, alpha: 1.0)
Upvotes: 1