I was able to set the navigationBar
for a detailedViewController
to be transparent by using:
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default)
self.navigationController?.navigationBar.shadowImage = UIImage()
self.navigationController?.navigationBar.isTranslucent = true
and this works fine. However when I link the detailedViewController
to the initial firstViewController
through a segue, both the parent firstViewController
and the child detailedViewController
have transparent navigationBar
properties.
Question: how can I keep the parent firstViewController
from inheriting this transparency property from the child detailedViewController
?