Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9256277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:54:11+00:00 2026-06-18T11:54:11+00:00

I am probably missing the obvious here, I am in a viewController that has

  • 0

I am probably missing the obvious here, I am in a viewController that has been pushed onto a UINavigationController stack when the user selects a button on the “Main” screen.

enter image description here

What I am trying to do is get to a point where I can access the UIBarButtonItem for the back button (Shown on the image as “Main”) and call setBackButtonBackgroundImage:forState:barMetrics: to customize the button.

What I am confused about is do I need to do this from each UIViewController that is pushed on, or is it something that I need to do just once on the UINavigationController itself?

I thought I might be able to access what I wanted from the pushed controller using:

UINavigationItem *navItem = [self navigationItem];

but think I am getting mixed up with the way things are setup.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:54:12+00:00Added an answer on June 18, 2026 at 11:54 am

    The one that can customize the back button is the controller that disappears, say, you have controller A that pushes into controller B. The back button that you see on controller B is A’s back button.

    If you want to customize ALL buttons in your app, you could subclass UINavigationController, make sure you use it and not a regular UINavigationController and on the pushViewController:animated method you could do this:

    controller.navigationItem.backBarButtonItem = ...; // Your custom back button
    [super pushViewController...];
    

    EDIT
    You cannot access the default back button, you can only create a new one to replace it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm probably missing something obvious here, yet I've been unable to solve the following
I'm probably missing something really obvious here, but I've been going over this over
I'm probably missing something obvious here but here's what I'm trying to do. From
Probably missing something completely obvious here, but here goes. I'm starting out with Spring
OK, I'm probably missing something obvious here, but my searches aren't turning up anything
I'm using Visual Studio 2008 Pro. I'm probably missing something very obvious here, but
This is probably something blatantly obvious that I'm just missing. Help me, SO! I'm
I think I'm probably missing something obvious here, so please enlighten me. Currently I'm
Most probably I'm missing something obvious here, but why do I need to call
Total Python noob here, probably missing something obvious. I've searched everywhere and haven't found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.