Now, I will put an image at the top of the screen in the design I created. However, the Navigation Title area is displaying the image in white color. Since I need the back button, I want to move the white color from the Navigation Title to below it. But I still want to keep the back button. How can I easily do this? Please assist me.enter image description here
self.navigationController?.isNavigationBarHidden = true self.navigationItem.setHidesBackButton(false, animated: false)
I tried this actions but this solutions navigation Item disappear on my screen back button also hidden. I don't want this.
First make a custom back button in storyboard.
Hide the navigation bar in viewDidLoad()
And use this line of code.
Am sure it will help you. Thank you.