Reputation:
I'd like to add a custom title to one of the predefined UITabBarItems. Whenever I select the particular instance I like in Interface Builder -- if I modify the the title it gets preset back to a 'custom' identifier. Ideally I'd like the book icon from the 'Bookmarks' identifier with my own custom title.
Is this level of customization currently supported by the SDK? Am I going to have to ultimately screen scrape the image and apply it as a custom image?
Thanks for any insight or documentation which points me in the right direction.
Upvotes: 2
Views: 15174
Reputation: 43874
As for finding the icons online... I'm still looking for all the official Apple ones myself. Here's what I've found so far:
And instead of screenscraping, do this:
Upvotes: 5
Reputation: 85542
Unfortunately, the only types of UITabBarItems are those supplied and described entirely by the OS (ie, it assigns them icons and titles), and those described entirely by the app, as you've discovered. By far the simplest solution is to pull the icon out of somewhere else and use it with -initWithTitle:image:tag
.
http://img369.imageshack.us/img369/8388/openbookwp4.png
Upvotes: 8