I have a translucent navigation bar with blurred content.
I want to push a new view controller with another translucent navigation bar but no content to blur (yet), so I do a simple navigationController?.pushViewController(vc, animated: true)
.
However, during transition the old navigation bar overrides the new one for a split second, then it goes back to normal. How to avoid this and achieve a smooth transition?
I tried playing with isTranslucent
property of navigation bar inside viewWillAppear
but no luck.
Here's a gif to understand the problem: