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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:25:31+00:00 2026-05-28T02:25:31+00:00

I am writing an app that uses the UITabBarController at the bottom. Hierarchy –

  • 0

I am writing an app that uses the UITabBarController at the bottom.

Hierarchy

- Page 1
- - SubPage 1
- - SubPage 2
- - SubPage 3
- Page 2
- Page 3

Page 1 contains a grid with multiple items, when selected the choosen subpage will be displayed.
On the sub pages I replace the Tabs of the TabBarController with all the subpages and want display a back link in the Navigation Bar.

I create the tabBar programmatically.
At the moment I init the navigationController with the tabBarController as rootViewController.
That seems to work, but I cant change anything on the NavigationBar, setting the title has no effect, buttons dont appear.

What I’m doing wrong?
Or is there a better way achieving what I want?

I target iOS5 with ARC (iPad only)

  • 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-28T02:25:32+00:00Added an answer on May 28, 2026 at 2:25 am

    You set the title of the parent navigation controller by setting the title of the child. You’d need to set the title of the tabbar-controller:

    myTabBarController.title = @"Page 1";
    

    You also set the buttons of the navigationbar inside the child-view, as the contents of the bar depend on the current visible view:

    UIBarButtonItem *myItem = [[UIBarButtonItem alloc] initWithTitle:@"back" style:UIBarButtonItemStylePlain target:self action:@selector(myBackAction:)];
    myTabBarController.navigationItem.leftBarButtonItem = myItem;
    

    Remember that changing the contents of the tabbar after tapping an item on it is considered bad user experience. There are probably other, better ways to achieve the same effect.

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

Sidebar

Related Questions

I am in the process of writing a web-app that uses multiple web APIs.
Hey--I'm writing a basic Rails app that uses the digg API. I'm trying to
I'm writing an app that contains the following tables: (1) employee_type, (2) employee and
I'm writing an app that uses UITabBar for parts of the navigation. I'm also
I am writing an iOS app that uses live audio analysis. It has an
I'm writing a Django app that uses celery. So far I've been running on
I am writing a small app that uses the GAE. I have parts of
I'm writing an AJAX web app that uses Comet/Long Polling to keep the web
I am writing an ASP.NET app that uses a SQL Server 2005 with SSRS
I'm currently writing a Rails 3 app that uses the google maps API (v3)

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.