I was able to add an image to a button on the navigation bar, but I don't want it to show the button, I just want it to show the image on the top right of the navigation bar.
Here's the code I've got so far:
Code:
UIBarButtonItem *addButton = [[UIBarButtonItem alloc]
initWithImage:[UIImage imageNamed:@"logo.png"]
style:UIBarButtonItemStyleBordered target:self
action:@selector(action:)];
self.navigationItem.rightBarButtonItem = addButton;
Any suggestions are welcome. Thanks.