IPhone Dev: Activate the view of a tabBar button
Posted
by Alex N Sanchez
on Stack Overflow
See other posts from Stack Overflow
or by Alex N Sanchez
Published on 2009-07-29T19:00:56Z
Indexed on
2010/04/15
22:03 UTC
Read the original article
Hit count: 355
Hi,
I have an application that has a tabBar that handles all the views. In the first view I have a login process. When that process finishes I want to go automatically to the second tabBar view without making the user to click in its respective tabBar button.
All I've got until now is to highlight the button with this:
myTabBar.selectedItem = [myTabBar.items objectAtIndex:1];
But I have no idea about how to bring the second view related to that button to the front, automatically. Until now the user has to press the button when it gets lighted (selected).
Any idea about how to do this? Is it possible? It would be much appreciated. Thanks.
© Stack Overflow or respective owner