Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you customise the title on a UITabBarItem?

When using the method initWithTabBarSystemItem to create a UITabBar object is there a way to set the title? I've tried setting the title property (on the viewController and tab bar item) afterwards but it doesn't seem to make a difference. I know about the initWithTitle: image: method but I want to use one of the system icons with a custom title.

like image 652
Tom Avatar asked Jun 03 '11 20:06

Tom


1 Answers

If yo are using the systemItem you can't customize it, you will have to make a custom Item, and use the same or similar artwork... you could get the artwork from: http://www.teehanlax.com/blog/iphone-gui-psd/

like image 188
Grady Player Avatar answered Sep 30 '22 00:09

Grady Player