Insert ADD button into UITableViewController titlebar


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(newButtonPressed) ];
  2. self.navigationItem.leftBarButtonItem = addButton;
  3. [addButton release];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.