Here i am having navigation and search bar in home page i.e front view controller and from here while navigating from home page to search page working fine and when i come back from search page to home page the navigation bar was missing please help me how to resolve this ?
Here is my image link shown below
https://ibb.co/eMeCPd
I used below code
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let abcViewController = storyboard.instantiateViewController(withIdentifier: "filterPage") as! filterPageViewController
self.navigationController?.pushViewController(abcViewController, animated: true)
later i tried with this
let tbc = self.revealViewController().frontViewController as? UITabBarController
let nc = tbc?.selectedViewController as? UINavigationController
nc?.pushViewController(abcViewController, animated: true)
Here i am having navigation and search bar in home page i.e front view controller and from here while navigating from home page to search page working fine and when i come back from search page to home page the navigation bar was missing please help me how to resolve this ? Here is my image link shown below https://ibb.co/eMeCPd
I used below code
later i tried with this