UIToolbar nie pokazuje UIBarButtonItem

Korzystam z serii ujęć i mam widok podzielony, gdzie master jest kontrolerem UITableViewController. Podobnie jak aplikacja Poczta iPad, chciałbym wyświetlić pasek UIToolbar.

Nie byłem w stanie dodać paska narzędzi za pomocą storyboardu, ale udało mi się go dodać programowo. Mogę także dodać UILabel do paska narzędzi, ale nie mogę znaleźć sposobu na dodanie przycisku odświeżania lub jakiegokolwiek UIBarButtonItem.

Dowolny pomysł?

- (void)viewDidLoad {
  [super viewDidLoad];

  [self.navigationController setToolbarHidden:NO];

  UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50.0f, 0.0f, 80.0f, 40.0f)];
  label.text = @"last updated...";
  label.textAlignment = UITextAlignmentCenter;
  label.font = [UIFont systemFontOfSize:13.0];
  [self.navigationController.toolbar addSubview:label];

  UIBarButtonItem *item1 = [[UIBarButtonItem alloc] initWithTitle:@"Item" style:UIBarButtonItemStylePlain target:self action:@selector(action:)];
  UIBarButtonItem *item2 = [[UIBarButtonItem alloc] initWithTitle:@"Item1" style:UIBarButtonItemStyleBordered target:self action:@selector(action:)];

  NSArray *buttons = @[item1, item2, nil];
  [self.navigationController.toolbar setItems:buttons animated:NO];

questionAnswers(1)

yourAnswerToTheQuestion