John-Lluch / SWRevealViewController

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right !
Other
4.52k stars 989 forks source link

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

Open vamsikrishnasurathi opened 6 years ago

vamsikrishnasurathi commented 6 years ago

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 commented 6 years ago

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

vamsikrishnasurathi commented 6 years ago

here is my screen shot @iDevelopper

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

isaacraja15 commented 5 years ago

did you find this solution ?