TTTabItem in three20 icon not working?

Posted by Frank on Stack Overflow See other posts from Stack Overflow or by Frank
Published on 2010-06-14T13:36:01Z Indexed on 2010/06/17 8:03 UTC
Read the original article Hit count: 356

Filed under:
|
|

I have been trying to get TTTabItem to work with images. And I dug up that you can set the icon to an image file. This is my implemenation:

    TTTabItem *tab1 = [[[TTTabItem alloc] initWithTitle:@"Item 1"]

autorelease]; tab1.icon = @"bundle://icon_eat_min.png"; filterBar.tabItems = [NSArray arrayWithObjects: tab1, nil]; [scrollView addSubview:filterBar];

However, my icon doesn't even appear. I even search through this group:

http://groups.google.com/group/three20/browse_thread/thread/f879f6643...

and override the rounded style. But I am just contemplating why would you have an something you can set and not have it work? or am i doing this badly

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c