I would like to pass a bool value from a viewcontroller to navigation controller inside a tabbarcontroller. Because I need to show a different view in accordance to the passed value.
By the way I couldn't pass the value through a code below,
// ViewController
let navigationVC = self.storyboard?.instantiateViewControllerWithIdentifier("navigation") as! NavigationController
navigationVC.pass = true
But I couldn't get the value. Is it because a tabbarcontroller between the ViewController and NavigationController?