Iphone Custom UITabBarItem without rounded edges
Posted
by Alex Milde
on Stack Overflow
See other posts from Stack Overflow
or by Alex Milde
Published on 2010-05-11T15:15:33Z
Indexed on
2010/05/11
16:04 UTC
Read the original article
Hit count: 953
hi i try to customize a uitabbar
i extended uitabbar item and now have a customized image in it but i cant get rid of the rounded edges.
code:
@interface CustomTabBarItem : UITabBarItem
{
UIImage *customHighlightedImage;
}
@property (nonatomic, retain) UIImage *customHighlightedImage;
@end
@implementation CustomTabBarItem
@synthesize customHighlightedImage;
- (void) dealloc
{
[customHighlightedImage release]; customHighlightedImage=nil;
[super dealloc];
}
-(UIImage *) selectedImage
{
return self.customHighlightedImage;
}
@end
maybe somoen knows how to get rid of the rounded rect
around the image
thanks in advance alex
© Stack Overflow or respective owner