Posted By

BenClayton on 02/04/10


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

umang_nine
avanadra
bobbym245
cnathan


Insert ADD button into UITableViewController titlebar


 / Published in: Objective C
 

  1. UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(newButtonPressed) ];
  2. self.navigationItem.leftBarButtonItem = addButton;
  3. [addButton release];

Report this snippet  

You need to login to post a comment.