Questions tagged [backbarbuttonitem]

80 questions
0
votes
1 answer

Adding both image and title to a navigation backBarButtonItem

I'm trying to add an icon (and keep the title) to the back button of my navigation controller. It seems if I set the image of the UIBarButtonItem it hides the title, so I thought I'd try a custom view. I've tried UIButton* customButton = [UIButton…
Trevor
  • 21
  • 5
0
votes
3 answers

Backbarbutton item in MPMmoviPlayerView Controller's navigation bar

I have added a navigation bar programmatically to the MPMoviePlayerViewController. How to add a backbar button item to the navigation bar to navigate to previous view controller? -(IBAction)playA1{ NSURL * urlA1 = [NSURL fileURLWithPath:[[NSBundle…
-1
votes
2 answers

how to add custom actions to UIBarButtonItem

I have a viewController (HomeViewController()) which is embedded into a NavigationCotroller and I have a horizontal CollectionView with 6 cells at the bottom of my viewController and I have implemented the delegate method didSelectItemAt indexPath:…
-1
votes
1 answer

Change place navigation button

How to change place navigationBack button with another button? I wrote something like: self.navigationItem.leftItemsSupplementBackButton = YES; NSArray *arr = [NSArray arrayWithObjects: editButton, self.navigationItem.backBarButtonItem , nil];…
quba88
  • 174
  • 4
  • 18
-2
votes
1 answer

Can't customize back button on UINavigationViewController

I've got a set of views embedded in a navigation view controller. The way it works is that a button in the first viewController (embedded already in navVC) transitions w/"Show (e.g. Push)" which causes a "< Cancel" button text to appear in the top…
Mercutio
  • 1,152
  • 1
  • 14
  • 33
1 2 3 4 5
6