Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

TabBarController, SelectedViewController / selectedIndex and not loading the tab that was selected..

User Post

1:44 pm
March 27, 2009


jeffsawyer

Noob

posts 1

1

Hi everyone! I hope someone out there can help me out. I have an app I'm developing with a few tabs using the tabBarController. I have a couple tabs as well as features that will only be available if you have an account and have filled out the username and password feature in a tab I'm calling “Account”…

Basically, I know I can do a

[code]self.tabBarController.selectedIndex = 3;[/code]

OR

[code]self.tabBarController.selectedViewController = [self.tabBarController.viewControllers objectAtIndex:3];[/code]

BUT, if I do that within another tab it doesn't seem to really cancel the loading of that tab… and when I go back to the tab, it'll show up. ugh…

What am I missing here? I am doing an if logged_in thing, so that's not the problem - it's just a problem of where I can put this or how I can stop the other view…

Thanks!

Jeff


About the iCodeBlog forum

Currently Online:

1 Guest

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 341

Posts: 788

Members:

There are 765 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

Uhu - 17

AdeC - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)