Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation bar disappears while navigating back from search page to front view controller in swift 3 ? #789

Open
vamsikrishnasurathi opened this issue Jun 13, 2018 · 3 comments

Comments

@vamsikrishnasurathi
Copy link

vamsikrishnasurathi commented Jun 13, 2018

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)
@iDevelopper
Copy link

The link https://ibb.co/eMeCPd is broken.

@vamsikrishnasurathi
Copy link
Author

vamsikrishnasurathi commented Jun 13, 2018

here is my screen shot @iDevelopper

screen shot 2018-06-13 at 12 51 28 pm

@isaacraja15
Copy link

did you find this solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants