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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-14-2008, 03:35 PM   #1 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 19
Default Custom Tab Bar Item Image

I'm looking to use one of the predefined images that Interface Builder provides for Tab Bar Items. However, I'd like a custom title for it set. Is that at all possible? Whenever I enter an arbitrary title, my identifier goes back to 'Custom'.

Would love some ideas.

Thanks!
imaginative is offline   Reply With Quote
Old 11-14-2008, 03:37 PM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 211
Default

You'll need to get a copy of the image and included it as a resource in your app bundle. Then set a custom image and custom title.
lapse is offline   Reply With Quote
Old 11-14-2008, 04:09 PM   #3 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 19
Default

By copy, do you mean I need to resort to a screenshot, or is there a way I can programatically query NSBundle to retrieve just the image without the title, then set my custom tab bar item with that image and my own title?
imaginative is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 679
21 members and 658 guests
ags9, armmzz, biskwit, chiataytuday, CS@UCSB, DanicaJackson, Dashcab, dschivas, elhanche, hearther, laxus02, litium, lukeirvin, mer10, mineva2kul, mistergreen2011, nguyenhieu129, Oral B, Profile, Rudy, wingliling
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,767
Threads: 89,201
Posts: 380,573
Top Poster: BrianSlick (7,129)
Welcome to our newest member, litium
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:56 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0