I have setup a UIViewController(RootViewController) with two container views connected to two UITableViewControllers. Each of the UITableViewController is selected based on the UISegmentedControl in the RootViewController.
I'm able to segue as I intended to, but the bar button items in the child controllers (UITableViewController) are not responding.
The navigation bar button items in the two child view controllers are different from each other.
Please find a screenshot of my storyboard. (Only one child controller displayed)
How to setup different navigation bar buttons for each of those container view controllers?
Did you push them on the UINavigation stack?
func pushViewController(ViewController, animated: true)
来源:https://stackoverflow.com/questions/40101381/different-navigation-bar-button-items-in-different-child-viewcontrollers-from-tw
