Skip to content

Instantly share code, notes, and snippets.

@jcromartie
Created January 10, 2010 02:09
Show Gist options
  • Save jcromartie/273290 to your computer and use it in GitHub Desktop.
Save jcromartie/273290 to your computer and use it in GitHub Desktop.
NSArray *toolbarItems = [NSArray arrayWithObjects:
[[[UIBarButtonItem alloc] initWithTitle:@"Foo" style:UIBarButtonItemStyleBordered target:self action:@selector(foo)] autorelease],
nil];
[self.navigationController setToolbarItems:toolbarItems];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment