Jimmy Jimmy - 4 years ago 192
iOS Question

How to iterate through each Navigation Controller cointained in a Tab Bar Controller

xib structure

How can I iterate through all the Navigation Controllers from the tabBarController?

Answer Source
for (UIViewController *viewController in self.tabBarController.viewControllers)
{
    // Do your thing...
}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download