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 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

I have a form with 3 tabs: one tab is for user entry and
I have a request in from a client that would like one of their
Has anyone used delegates with exchnage web services? I would like one user to
I would like to have one column in QTableWidget NOT editable. In forums I
I would like to style individual tabs of the tab bar of a QTabWidget
I have a tab form called Home and I would like to say for
I have two tab-delimited genome sequence files (SAM format), and I would like to
I have 2 tabs at the top of a page. When one tab is
I have a TabControl that contains several tabs. Each tab has one UserControl on
I would like to add more tabs to the tab panel upon receiving a

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.