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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:01:08+00:00 2026-05-20T03:01:08+00:00

I would like for one tab in a UITabBarController to have a fixed position

  • 0

I would like for one tab in a UITabBarController to have a fixed position and the user can reorganize the other tabs however they like. I have the UITabBarController > UINavigationController > UITableViewController setup.

Is this possible?

UPDATE:

The following code, in applicationDidFinishLaunching, is what I’m using and it doesn’t work. I’m trying to get a reference to the SavedTableViewController, I think that’s the problem. Any ideas?

NSMutableArray *customizableVCs = [NSMutableArray arrayWithArray:tabBarController.customizableViewControllers];
    for (id controller in tabBarController.customizableViewControllers){
            if ([controller isKindOfClass:[SavedTableViewController class]]){
                NSLog(@"Removing Object");
                [customizableVCs removeObject:controller];
            }
    }
    tabBarController.customizableViewControllers = customizableVCs;

UPDATE 2:

This is the code that worked for me. I had to put the snippet below adding the tabBarController to the window.

[window addSubview:tabBarController.view];
    [self setTabOrderIfSaved];

    NSMutableArray *customizableViewControllers = [NSMutableArray arrayWithArray:tabBarController.customizableViewControllers];
    [customizableViewControllers removeObject:savedNavigationController];
    tabBarController.customizableViewControllers = customizableViewControllers;
  • 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-20T03:01:09+00:00Added an answer on May 20, 2026 at 3:01 am

    Remove the view controller corresponding to that tab from the customizableViewControllers property of your tab bar controller. Assuming that you want fixedViewController to remain fixed:

    NSMutableArray *customizableViewControllers = [NSMutableArray arrayWithArray:tabBarController.customizableViewControllers];
    [customizableViewControllers removeObject:fixedViewController];
    tabBarController.customizableViewControllers = customizableViewControllers;
    

    Because customizableViewControllers is reinitialized when the viewControllers property is changed, you should do this after the rest of your tab bar controller’s state has been set up.

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

Sidebar

Related Questions

Has anyone used delegates with exchnage web services? I would like one user to
I have several A4 PDF documents which I would like (two into one) glue
I would like to know which one is the best material that I can
I have a tabbed html form. Upon navigating from one tab to the other,
I have an app with a tab bar with two tabs. One tab displays
Starting a new project and would like to use one of the MVC framworks.
I am using a third party application and would like to change one of
I am starting out with automated testing and I would like to test one
I would like to compare a screenshot of one application (could be a Web
I would like to dynamically hide a button in one of my views depending

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.