After searching on Internet, and in this forum I couldnt solve my problem.I`m making an app with a tab bar and three views managed with this tab bar(viewA, viewB, viewC). In one of the views (viewA) I have a button which I want to use to show one of the other two views(viewB) (but not with the button from the tab bar).
With this button I should call a function that switch from viewA to viewB, but the function is on the viewAcontroller.m, and from this controller I cant access to the tabBarController because I have defined it in the appDelegate.h.
Somebody knows how to get access to the tabBarController defined in the appDelegate.h, or another way to switch the views with a function from the viewAController.m?
Really thanks