full-sized UINavigationBar titleView

This commit is contained in:
pastorin 2015-04-28 10:14:17 -03:00
parent d61dfd1d2d
commit 4e8e8fa992
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
[self.buttonBarView setBackgroundColor:[UIColor clearColor]];
[self.buttonBarView.selectedBar setBackgroundColor:[UIColor orangeColor]];
[self.navigationItem setTitleView:self.buttonBarView];
[self.navigationController.navigationBar addSubview:self.buttonBarView];
[self.buttonBarView registerNib:[UINib nibWithNibName:@"ButtonCell" bundle:nil] forCellWithReuseIdentifier:@"Cell"];
}