Im trying to place a Custom Icon on to a UIToolbar but when i do it the icon dosent come out correctly, this is the code im using for it anyone have any idea whats going wrong?
Code:
UIImage *image = [UIImage imageNamed:@"webIcon.jpg"];
webpageBtn = [[UIBarButtonItem alloc]initWithImage:image style:UIBarButtonItemStylePlain target:self action:@selector(goToWebPage)];
[toolbar setItems:[NSArray arrayWithObject:webpageBtn]];
The icon shows the shape of the picture(which is a circle), here its just a globe indicating press this to go to the webpage, but when i see it in the app it shows only a white circle