Iphone Custom UITabBarItem without rounded edges
- by Alex Milde
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