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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T21:55:38+00:00 2026-05-19T21:55:38+00:00

I have a .xib with a controller, a UITableViewController . It contains a UITableView

  • 0

I have a .xib with a controller, a UITableViewController. It contains a UITableView, which is controlled by the right .h, .m files and IBOutlets. All works fine, but I want a Navigation Bar on top of the view. Now I saw this setting in Interface Builder, which is in the Attributes window of the UITableViewController: “Top Bar”. I set this to Navigation Bar, which nicely renders an empty navigation bar above the table view.

But I don’t see it on my iPhone! How can I access this navigation bar, set its title and an edit button? Do I have to connect it to an outlet somewhere? I tried to add a navigation bar manually, but that doesn’t work since its a UITableView.

Can someone help me out? Any advice is greatly appreciated.

  • 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-19T21:55:39+00:00Added an answer on May 19, 2026 at 9:55 pm

    The “Top Bar” option in IB is only to simulate what your UI would look like with a Navigation Bar. To actually see a navigation bar, you’ll have to embed your UIViewController within a UINavigationController.

    To find out how that works, check out the “Navigation-based Application” template in Xcode and check this out: http://www.matthewcasey.co.uk/2010/05/23/tutorial-introducing-uinavigationcontroller-part-1/

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

Sidebar

Related Questions

I have a View Controller inside my MainWindow.xib file that loads the nib Cover
I have a login.jsp page which contains a login form. Once logged in the
i have a input tag which is non editable, but some times i need
I have a navigation controller app. I created a RootViewController class with Xib file.
i have built view controller with xib file and navigation bar in it,this view
I have the following in the mainwindow.xib Navigation Controller List item Tab bar controller
I have a XIB file in which I have a few UI elements. The
I have a xib with a uitableview in it. This table is connected via
I have a .xib file containing a UIView and 2 UILabel subviews linked to
If I have something like a UILabel linked to a xib file, do I

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.