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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:25:10+00:00 2026-05-31T13:25:10+00:00

I have to implement a tab bar based application. There are two requirements The

  • 0

I have to implement a tab bar based application. There are two requirements

  1. The tab bar item would be more than 10 and they should scroll not show in next page. I have got a reference of this and working on it. But i am not getting any starting point for this second one.
  2. It should show(tabbar) at the top of the screen not bottom mostly like implemented in app as shown in the link http://appworld.blackberry.com/webstore/content/screenshots/21999/?lang=en.

So if any one has any idea or code then please let me know and help me.

  • 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-31T13:25:11+00:00Added an answer on May 31, 2026 at 1:25 pm

    Clearly you cannot use UIKit’s UITabBarController.

    You need to define your own custom solution.

    Possible solution:

    1. put at the top of the screen a UIScrollBar
    2. instantiate inside the scrollbar some UIButton of type custom and the image you define for each button
    3. associate each UIButton to a different UIView (or a different UIViewController):
      e.g. Button1 –> View1; Button2 –> View2
    4. each time you click on a button, just replace the view below the tab bar with the selected view.

    In point [3] why it is better to use a view controller instead of a view? because using a view controller allows you to separate logic functionality for each of the tab bar functions, instead of cramming everything in the same view controller.
    Basically you have one “main” view controller, which instantiates the scroll view (with buttons) and contains another subview (initially empty) called “container” that will take the remaining part of the screen.
    Now when you click on each button, you will alloc-init its corresponding view controller (let’s call it “child1”), you will loads its view (“child1.view”) and then you will add it as subview of the “container”:

    [containter addSubview:child1.view]

    (don’t forget to remove the existing subview in the container before).
    Important note: the only view controller that will respond to events such as interface rotation will be only “main” and not “child”. So interface orientation management must be still done by “main” and all orientation change events have to be sent by your code to the child container.
    The good of this approach is that the functionality of the single child can be fully implemented in its view controller and “main” will work just as a container and tab manager, with no core logic functionality.

    It makes sense to move this logic to a higher level view controller for high reusability, but it would be quite more complex.

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

Sidebar

Related Questions

This is more of a requirement than a problem. There is a tab bar
I have to implement the VinPower application. They offer a Java version, a C
i'm making app based on tab bar with two tabs. My problem is that
I have overwritten the tab bar controller and tab bar item classes in my
I have an app with a tab bar with two tabs. One tab displays
i have an application which uses CoreData/.sqlite to store my data, a tab bar
I have to implement a one linked list but it should put object in
I have a school project in which I have to implement a chat application,
I have a tabbar application that has one screen that displays statistics based on
I have an app with a tab bar and 3 tabs. The current location

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.