Switching between TabBarController Views when event fired
- by aahrens
I have a UITabBarController with two different views to switch between. What I would like to do is when a button is clicked in View1 to switch directly to View2. Then in View2 if they click a button it switches them to View1.
It transfers between View1 and View2 when the click on the tabBarController fine but I'm trying to perform the switching for them when an event occurs
Is there a way to do this by calling a method on my UITabBarController?
@interface CalcAppDelegate : NSObject <UIApplicationDelegate> {
UITabBarController *tabBarController;
}