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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:18:18+00:00 2026-06-18T05:18:18+00:00

I have a tab-based app created, which has 5 tabs. I want the 3rd

  • 0

I have a tab-based app created, which has 5 tabs.

I want the 3rd tab bar item to be of greater height than all other tabs.

The size of this 3rd tab bar item will always remain greater than other tabs.

How do I do it in a tab-based app? Is it possible without having a custom tab bar ?

Please help

Thanks in advance

  • 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-06-18T05:18:19+00:00Added an answer on June 18, 2026 at 5:18 am

    You can easily achieve this effect by overlaying a custom view or button. Here’s what I do in an application to achieve this effect (as seen below). I don’t believe it’s possible to do this without an additional subview.

    UIButton *middleButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    [middleButton addTarget:self action:@selector(tappedMiddleButton:) forControlEvents:UIControlEventTouchUpInside];
    
    CGRect frame;
    frame.size.height = 54;
    frame.size.width = 72;
    frame.origin.x = ceil(0.5 * (tabBarController.view.bounds.size.width - frame.size.width));
    frame.origin.y = tabBarController.tabBar.bounds.size.height - frame.size.height;
    [middleButton setFrame:frame];
    
    [[tabBarController tabBar] addSubview:middleButton];
    

    Then you can have your method that is called:

    -(void)tappedMiddleButton:(id)sender {
    
    }
    

    Inside of that method you could set the selected index of the tab bar:

    [tabBarController setSelectedIndex:2];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tab-based iPhone app where I want to increase the perceived start-up
I have a tab bar + navigation based app and I'd like to launch
I have created a tab based app, in one of the tab, there is
I am having an issue: I have a tab-bar based app. In MainWindow.xib for
I have a tab bar based app. But from one screen the user may
I have created a tab based app drawing both nib-designed views and pragmatically designed
I have a table based app and would like to add a tab bar
I have a tab bar based app. I have selected/de-selected image set for every
I have an UITabBar based iPhone app with 4 different UIWebViews under every tab.
I currently have this workflow in a tab based app: Tab1 loads... ViewOne :

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.