Add a tab in Objective-C

Member
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:

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