Add a tab in Objective-C

Posts: 283
Joined: 2006.05
Post: #16
Well, it depends which item you want to access. If it's a permanent tab (created in Interface Builder) you can just make a new outlet and hook it up. If it's one you created in code, you'll probably want to use something like tabViewItemAtIndex:.

So you'd probably have something like:

[[MyTabView tabViewItemAtIndex:2] setLabel:@"Moose"];
Quote this message in a reply
Posts: 625
Joined: 2007.09
Post: #17
That Fixed It! Thanks A Lot!
Quote this message in a reply
Post Reply