UITabBarController - How to access a view controller?

You most likely have UINavigationControllers at the root of your Tabs, so what you will want to do is access the ViewController displayed by the UINavigationController.

You most likely have UINavigationControllers at the root of your Tabs, so what you will want to do is access the ViewController displayed by the UINavigationController. Try changing the code to the following: for (UIViewController *v in self.tabBar. ViewControllers) { UIViewController *vc = v; if (v isKindOfClass:UINavigationController class) { vc = v visibleViewController; } if (vc isKindOfClass:MyViewController class) { MyViewController *myViewController = vc; vc doSomething; } }.

How to do that in app delegate class – Ali Mar 28 at 11:15.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions