How to make my UIBarButtonItem look like in the image below?
Currently, the UIBarButtonItem looks like a button. But I want it to look like a UIToolBar item (not even sure if it's the correct technical name), i.e., without the button background.
Here is my current code for the button.
Code:
UIBarButtonItem *shareButton = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:@selector(share)] autorelease];
self.navigationItem.rightBarButtonItem = shareButton;
Thanks