CUSTOM UITABBARITEM IMAGETITLE ON IPHONE

Felix Pickles

Total Post:24

Points:168
Posted by  Felix Pickles
 832  View(s)
Ratings:
Rate this:

I have created a UITabBarItems and now I want to add a custom title on it. I like the Interface Builder whenever I select the particular instance. 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.

  1. Tarun Kumar

    Post:214

    Points:1642
    Re: Custom UITabBarItem ImageTitle on iPhone

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!