Switching between TabBarController Views when event fired
Posted
by aahrens
on Stack Overflow
See other posts from Stack Overflow
or by aahrens
Published on 2010-04-14T03:41:24Z
Indexed on
2010/04/14
3:43 UTC
Read the original article
Hit count: 236
iphone
|uitabbarcontroller
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;
}
© Stack Overflow or respective owner