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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:57:47+00:00 2026-05-17T21:57:47+00:00

Further to this question here , I’m really interested in creating my own UITabBar,

  • 0

Further to this question here, I’m really interested in creating my own UITabBar, and ‘rolling my own’. Im really curious as to how this is done, especially in an app such as the Twitter app.

How can I do this? Can anyone point to any good resources on how to subclass this?
Should I do it programmatically, or in a XIB?

Edit: I’m looking to do this with custom icons/selected icons and having icons only.
Edit2: After reading further answers, it sounds like a custom XXTabBarcontroller is what I actually want to do here. Can anyone comment on this?

Thank you,

  • 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-17T21:57:48+00:00Added an answer on May 17, 2026 at 9:57 pm

    I don’t know if there is a best way to do this, but I will share my experience:

    I created my own version of a tab bar by subclassing UIView as opposed to UITabBar. As the linked question mentions, Apple’s UI classes are quite finicky about their sizing and I do not think I could get the UITabBar subclass to size as I wanted.

    Because I did not have a subclass of UITabBar I also ended up rolling my own versions of UITabBarController and UITabBarDelegate, with interfaces that are essentially the same as the Apple classes. I WAS able to use UITabBarItem to store the title and icon for the buttons on the tab bar, which is useful since UIViewControllers have a tabBarItem property. That lets you store just an array of UIViewControllers in your controller, as opposed to arrays for both controllers and tab bar items.

    Because I was using mostly custom classes I did this all programmatically, including creating, configuring and laying out the buttons on the tab bar.

    Like I said, this is just my experience, hope it helps.

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

Sidebar

Related Questions

Update: Thanks for the suggestions guys. After further research, I’ve reformulated the question here:
Further to my question on disabling validators using javascript - Disable ASP.NET validators with
Taking shs's question a step further... Why isn't all government sponsored software open source?
I'm quoting myself on a previous question I asked to further explain: I'm trying
Summary Hi All, OK, further into my adventures with custom controls... In summary, here
Since this question is about the increment operator and speed differences with prefix/postfix notation,
I have been looking all over the Internet for an answer to this question
Further to How to Pass Command Line Parameters in batch file how does one
With a view to avoiding the construction of further barriers to migration whilst enhancing
I just had some basic php questions to further my understanding as I learn,

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.