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 949835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:28:02+00:00 2026-05-15T23:28:02+00:00

I need to change color on the default self.navigationItem.backBarButtonItem. To accomplish this I´ve created

  • 0

I need to change color on the default “self.navigationItem.backBarButtonItem”. To accomplish this I´ve created an custom Button class and implemented it like this:

- (void)viewDidLoad {
[super viewDidLoad];    
BackButton *blueSaveButton = [[BackButton alloc] init];
UIBarButtonItem *temporaryBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:blueSaveButton];
temporaryBarButtonItem.title = @"Tillbaka";
self.navigationItem.backBarButtonItem = temporaryBarButtonItem;
[temporaryBarButtonItem release];
[blueSaveButton release];
[self gotoLocation];

}

But this has no effect at all on the button.
So how do you manage to do this without “breaking” the default/inherited behavior of the navigationbar?

EDIT: The reason is that the button needs to be corporate branded, so default styles will not do.

BR

  • 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-05-15T23:28:03+00:00Added an answer on May 15, 2026 at 11:28 pm

    Ok found the solution (not so good but it works) do this:
    1: Implement the button from this tutorial: http://www.switchonthecode.com

    This will override the default behavior of navigationbar.

    2: Implement this in every view that needs the custom button:
    osmorphis.blogspot.com

    BR

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

Sidebar

Related Questions

I need to change the font color on the first link. <a href=/default.aspx class=content>Frontpage</a>
I need to change the default blue color selection of table view to some
I'm working with Flex 3.4 SDK. I need to change the default close button
i need change color of SystemTray.ProgressIndicator color, how i can do it? I tried
Please i need to change color of a single character in textarea using JQuery.
I need to change the font color of a div with the id name
How to change color of selected ListPicker Item in Full Mode? What style need
I need 2 simple JavaScript functions that read and change the color of a
I need to have a JQuery color Picker, where I can change the different
Hi I've been having so trouble with this project I need to change colors

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.