swift add navigationcontroller to view controller programmatically code example
Example: navigationviewcontroller setviewcontrollers swift
vc.setViewControllers([standingsViewController], animated: true)
vc.setViewControllers([standingsViewController], animated: true)