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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:44:13+00:00 2026-05-22T11:44:13+00:00

I have a tab bar controller that I have created programmatically, named TPastJourneyTabbar .

  • 0

I have a tab bar controller that I have created programmatically, named TPastJourneyTabbar. When I click on the table view and didSelectRowAtIndexPath: is called, my tab bar class should get allocated and it should get added as subview of another class. I have done this using the follwing code:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    TPastJourneyTabBar * tabbar = [[TPastJourneyTabBar alloc]init];

    HGMovingAnnotationSampleViewController *detailViewController = [[HGMovingAnnotationSampleViewController alloc] initWithNibName:@"HGMovingAnnotationSampleViewController" bundle:nil];
    [detailViewController.view addSubview:tabbar.view];
    [self.navigationController pushViewController:detailViewController animated:YES];

    [detailViewController release];

}

HGMovingAnnotationSampleViewController is the class to which I am adding my tab bar as a subview. When I run my application, the tab bar is getting called but it is not getting called completely; i.e., the lower portion of the tab bar, where the title of the tab bar item is written, is not seen. How can I make the tab bar completely visible?

  • 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-22T11:44:13+00:00Added an answer on May 22, 2026 at 11:44 am

    You have a design problem here. You shouldn’t use a TabBar as a subview of nothing than the AppDelegate’s window, as the Human Interface Guidelines states.

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

Sidebar

Related Questions

I have a TabBar App. I have created a UITableView class called Schedule that
I have a my views and controllers set up like so. A Tab/Bar controller
I have a TabBar which has been created programmatically. In the view controllers of
I have a three view tab bar app the second view of which I
I have created a Tab Bar Application, removed the default FirstView and SecondView and
I present a modal view controller which is a tab bar controller with a
I have a tab page that should be hidden if a property (BlahType) is
Modern browsers have multi-tab interface, but JavaScript function window.showModalDialog() creates a modal dialog that
So I have a form with lots of controls that all have a tab
I have a UITabBarController created programaticaly that manages 4 subclasses of UIViewController. Something like:

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.