Questions tagged [uitabbar]

UITabBar is a user interface element in Apple's iOS, which is a bar at the bottom of the screen and has images and/or text representing different views of an application.

UITabBar

UITabBar - iOS Class (Apple Docs)

Class Structure = UITabBar : UIView : UIResponder : NSObject

A UITabBar is a common user interface element used in constructing multi-view applications. Each tab/button may contain text or an image, and when pressed corresponds to a , or a subclass of (such as a ).

Image: screenshot of the UITabBar in Apple's Health application.

UITabBar Example


The object which controls a Tab Bar, is a . This class manages the view swapping that occurs when the user selects another tab.

2318 questions
0
votes
0 answers

Not able to display tab bar icons in required order

I wanted to display 6 icons on a tab bar in a specific order. For that in the storyboard I have dragged a tab-controller and added 6 viewcontrollers to it. I also added an image to each of the tab bars and also made different viewcontrollers for…
user308123
  • 135
  • 1
  • 12
0
votes
2 answers

Why does my UITabBar disappear after onboarding screen is loaded?

I'm using a Tab Bar Controller, it works fine, but when my app first starts with my Onboarding Screen for the users to accept the T&Cs, the tab bar disappears. I'm not too sure what to do here. Here's my code: func application(_ application:…
Ali Wong
  • 1
  • 6
0
votes
1 answer

Update current UIViewController UI upon tap of TabBar

I am trying to show an activity indicator when a user taps a certain TabBar item. My problem, I think, lies in the fact that the UI Main thread is frozen. When a user taps the TabBar I prepare a big data list that takes about six seconds. I get the…
jimijon
  • 2,046
  • 1
  • 20
  • 39
0
votes
2 answers

How to present UI view and keep Tab bar in Swift

I can not succeed in presenting a UI view and keep the Tab bar in Swift. It does successfully present but there is no tab bar. It appears that presenting a UIView removes the tab bar. Here is my code. navigationItem.leftBarButtonItem =…
Jake Lowe
  • 72
  • 7
0
votes
2 answers

Tabbar With 6 Tabs

Anyone know of a way to place 6 tabs in the tabbar without the more button kicking in?
Jim B
  • 2,267
  • 6
  • 24
  • 26
0
votes
2 answers

How to change tabBar item title by using button click from child viewController

I have UITabBarController using storyboard and I custom it by another UITabBarController class in order to perform some changes by requirement of my app. For my UITabBarController has 4 child viewControllers. And my first child view I implemented…
Visal Sambo
  • 1,270
  • 1
  • 19
  • 33
0
votes
2 answers

Problem Adding UITabbar to Existing UITableView - iPhone SDK

Wonder if anyone can help me with this problem. I have created a Window based application. I have then added a Navigation Controller to the Window (via Interface builder) and subclassesd UITableViewController and used the table delegates in this…
GuybrushThreepwood
  • 5,598
  • 9
  • 55
  • 113
0
votes
1 answer

How to make a mini cover flow like menu tab (as in the CNBC app) in iOS?

Does anyone know how the CNBC apps (under the "Markets" tab) did the mini cover flow like tab menu bar at the top to select the different indexes? It looks pretty cool... Thanks, Charles.
Spock
  • 111
  • 3
0
votes
1 answer

UITabBarController icons not showing up

I have an app that has a UITabBarController with four view controllers embedded. I've created icons for both normal and selected states and set them via the interface builder. The sizes of the individual icons vary slightly according to the new…
Isuru
  • 30,617
  • 60
  • 187
  • 303
0
votes
2 answers

swift - How can I reach 2nd tab navigation stack from 1st tab?

I have a TabBarController with 2 tabs, and each of them is NavigationController with UIViewControllers. And, when I do some action at the 1st tab, I need be able to move one of UIViews on the 2nd tab to the top of the stack. How can I reach 2nd tab…
nastassia
  • 807
  • 1
  • 12
  • 31
0
votes
1 answer

Hiding bottom tab bar before master object select

Xcode 10.1 Swift 4.2 I am using Master-Detail project. I need to add a bottom tab bar within the detail view but I don't want it to be displayed until an object in the Master view is selected. Right now i used the "Hidden" option under "Drawing"…
Abby
  • 20
  • 5
0
votes
1 answer

Changing the height and design of the tab bar below an ios app

i am designing an app, ios based. i am doing this with the guidelines of apple. but i have a question about the tab bar below the app. Apps like spotify, facebook ,whatsapp and twitter are using a tab bar below the screen. Is it possible in de…
0
votes
1 answer

Adding Tab Bar View into an Existing Table Based App - iPhone

I have a table based app and would like to add a tab bar to the bottom to switch between this table and other views. What is the msot hassle free way to do this ? Can I just wire in a tab view controller underneath the table view? Thanks, Martin
GuybrushThreepwood
  • 5,598
  • 9
  • 55
  • 113
0
votes
1 answer

iPhone, Xcode (3.2.5) - Drill down TableView + TabBar

WARNING: Xcode and programming newbie alert! Has anyone here had an issue with combining drill-down table functionality with tab bar views? Basically I set up a Tab Bar project in Xcode, and after following this tutorial (up to Figure 6) to get the…
ellawson
  • 1,033
  • 1
  • 8
  • 13
0
votes
3 answers

How to show the tab bar when using Segue back in swift

I have a Tab bar in the first view and a total of two views. However, when I move from the first view to the second view and then back to the first view using the Segue, the Tab bar of the first view disappears. When return to the first view from…
dinggu
  • 111
  • 7