UIBarButton won't show up on Table View within Tab Controller
问题 noob question regarding ios development. In a previous project, I have a UITableViewController, to which I am adding a button in the viewDidLoad method, like this: UIBarButtonItem *button = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(addMeasurement:)]; self.navigationItem.rightBarButtonItem = button; [button release]; This works great. I now have another application in which I am trying to do the same thing, except now I have