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

  • Home
  • SEARCH
  • 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 6565715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:07:41+00:00 2026-05-25T14:07:41+00:00

I am loading a new view from a NIB (initWithNibName) and then I am

  • 0

I am loading a new view from a NIB (initWithNibName) and then I am pushing it into navigation controller stack (pushViewController).

In order to have a proper “Back” button each view should have a title.
Unfortunately I didn’t manage to find a way to set up View Title in the Interface Builder.

It can be done in run time:

- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.title = @"MyTitle";  
}

But I didn’t manage to do it in design time in the NIB.

Is there a way of doing it?

Thank you.


I just realised my question is not 100% correct.

In fact I am looking for a way to set ViewController’s title via NIB.

And UIView in the NIB is different from the UIViewController (which got the title property I am trying to change).

So my question was … about something different. 🙂

  • 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-25T14:07:43+00:00Added an answer on May 25, 2026 at 2:07 pm

    You should be able to access the root view controller’s navigation item through the navigation controller item. The root view controller’s navigation item has the property title that you can access in IB.

    maybe this picture helps (your basically clicking on the blue navigation bar to put focus on the navigation item):

    enter image description here

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

Sidebar

Related Questions

I have a Navigation Controller. When user taps a button a new UIViewController is
I'm loading a SQL Server 2000 database into my new SQL Server 2005 instance
When loading XML into an XmlDocument, i.e. XmlDocument document = new XmlDocument(); document.LoadXml(xmlData); is
I am loading/unloading several swfs from one main swf. When I load a new
I am trying to learn Objective-C and have run into a problem with pushing
My iPhone app is a tab bar controller loading 3 navigation controllers: for the
I'm having trouble loading a detailed view from a TableView. The segue doesn't fire
So I'm loading images into Android Gallery from SD card. I hit menu and
I was getting the following message upon creating a new view controller. Everything was
When you instantiate a new view controller is it faster to create the objects

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.