Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

michaelmurray

macrumors newbie
Original poster
Oct 21, 2011
1
0
Hi I'm very new to iOS development.

I'm attempting to have a TabBarController drive my app. I have 5 tabs across, the center tab is linked to a BlankViewController which is currently named "Herd" and has a buttonw with an image overlayed ontop of it so you never get to see the icon or are able to click on the actual tab (similar to Instagram/Path app). What I want to be able to do is change the title/image of the center tab and the segue of the button based on where I am within the application (e.g. If I'm on the herd listing screen I will see "Herd" in the center of the TabBar, if I'm on the cow listing screen I will see "Cow" in the center tab of the TabBar.

There must be a way of altering my TabBarControllers center TabBarItem from within another ViewController.

Any help would be greatly appreciated.

Regards,

Michael Murray
 

Attachments

  • iOS Simulator Screen shot 2011-10-20 4.07.09 PM.png
    iOS Simulator Screen shot 2011-10-20 4.07.09 PM.png
    35.9 KB · Views: 35
  • iOS Simulator Screen shot 2011-10-20 4.07.17 PM.png
    iOS Simulator Screen shot 2011-10-20 4.07.17 PM.png
    17.5 KB · Views: 40
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.