Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-06-2010, 05:10 PM   #331 (permalink)
nixesmixes
Registered Member
 
Join Date: May 2010
Posts: 3
nixesmixes is on a distinguished road
Default Initializing TabBarItem title and image

Hi there,

This is a great thread. Thanks to all for participating. What is the proper location for setting the title and image for a Table View Controller that is part of a Nav Controller that is part of a Tab Bar Controller?

Tab Bar Controller
--------Nav Controller
--------------Table View Controller
--------Nav Controller
--------------Table View Controller
--------Custom View Controller

I set the tabBarItem.title and tabBarItem.image in the init method of Custom View Controller and that works just fine. But when I override init for TableViewController and set title and image for tabBarItem for the Nav Controller-TableViewController tabs the corresponding label and image do not appear in the tab. I am not sure what is the proper place to set the tab bar item for this scenario. I am doing this programmatically. Thank you.
nixesmixes is offline   Reply With Quote
 

» Advertisements
» Online Users: 379
9 members and 370 guests
Chickenrig, Domele, earnestarvizo, erdinc27, EvilElf, georgiannuo53, ipodphone, LEARN2MAKE, linkmx
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,581
Threads: 94,082
Posts: 402,770
Top Poster: BrianSlick (7,990)
Welcome to our newest member, georgiannuo53
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:58 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.