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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:30:26+00:00 2026-06-12T16:30:26+00:00

How can I add a label to my navigation bar that has the same

  • 0

How can I add a label to my navigation bar that has the same font and color as the titleView text? Here’s a photoshopped mockup of what I’m trying to achieve…

enter image description here

I’m using storyboards, so I tried using Interface Builder to add a UIView to the nav bar in the position that I wanted it (near the back button), then added a UILabel into that view. There were two problems with this approach. First, it made the back button go away. Second, the font and color were different than the titleView text and it was very difficult to get them to look the same.

How can I add a label (circled in red above) to the navigation bar without replacing the back button at runtime, using either Interface Builder or code?

Thanks so much in advance for your wisdom!

  • 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-12T16:30:27+00:00Added an answer on June 12, 2026 at 4:30 pm

    Although it looks super odd what you’re trying to achieve, if using a UISplitController is not what you would like to do then the only other way I can think of right now is to use a UIView as the bar’s titleView, set it’s width to cover most of the bar.

    Then use one UILabel to the left, and place one in the center. You should make the left label text align left, and the “center” label be the same width as the bar and text align it to center.

    This “could” overlap, but it doesn’t seem they would in your case.

    As for the font, this is usually colour dark gray, with a light gray shadow offset at -1 pixel (up) and zero horizontally. And font is system bold of size 17 I believe.

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

Sidebar

Related Questions

I was wondering how I can add \label into bibtex so that when I
How can I add two label in the same grid box? e.g. in row
How can I add label to my marker if my markers are populated on
How can I add a newline to a plot's label (e.g. xlabel or ylabel)
I can add a normal rightBarButton to my navigation without a problem but now
You can add and subtract 1 from my cell.textLabel.text . I am adding 1
In the tableview the user can tap the upper right button (navigation bar rightside)
in a label i can add a new line like this Label.Caption:='First line'+#13#10+'SecondLine'; can
How can i add a label next to a toolbar item in GTK+?For instance
I am trying to add label (headerLabel) to another subview (introPadTutorial) here and it

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.