Reputation: 29497
I'm developing a WebApp for iOS, and I need a "add" icon for my button. Something like this:
http://www.winsupersite.com/content/content/127266/reviews/mobileme_iphone_rtm_16.jpg
The button I already have, what I need is just the "add" icon like that.
Upvotes: 2
Views: 4318
Reputation: 69469
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd
target:self
action:@selector(addButtonPressed:)];
self.navigationItem.rightBarButtonItem = addButton;
[addButton release], addButton = nil;
This will get the framework to add the +
icon.
Sorry I've read over the WebApp bit, just use an image.
Upvotes: 8