SWRevealViewController icon indicating copy to clipboard operation
SWRevealViewController copied to clipboard

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

Open vamsikrishnasurathi opened this issue 6 years ago • 3 comments

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)

vamsikrishnasurathi avatar Jun 13 '18 07:06 vamsikrishnasurathi

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

iDevelopper avatar Jun 13 '18 09:06 iDevelopper

here is my screen shot @iDevelopper

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

vamsikrishnasurathi avatar Jun 13 '18 09:06 vamsikrishnasurathi

did you find this solution ?

isaacraja15 avatar Nov 12 '18 19:11 isaacraja15