Questions tagged [uitabbaritem]

The UITabBarItem class implements an item on a tab bar, instances of the UITabBar class. Tab bar items are used to configure the tab bar.

Tab bar items gives the ability to switch between different subtasks, views, or modes. A tab bar operates strictly in radio mode, where one item is selected at a time—tapping a tab bar item toggles the view above the tab bar. There is a way to specify a badge value on the tab bar item for adding additional visual information—for example, the Phone application uses a badge on the item to show the number of new messages. This class also provides a number of system defaults for creating items.

991 questions
1
vote
0 answers

How to add right button on UINavigationbar in UITabbar

I have a problem when add a right button on uinavigationbar. My Nib organizer like this: CustomTabViewController :UIViewController -->CustomTableViewController1 : UIViewController -->CustomTableViewController2 : UIViewController…
afmo
  • 11
  • 5
1
vote
1 answer

IOS TabBarController Questions

TabBar will be about 2 question. I am using a combination of a TabBar and NavigationController. As the following…
Okan
  • 1,133
  • 8
  • 15
1
vote
1 answer

Update UITabBarItem badgeValue with More view

How can I update the badgeValue of a TabBarItem when I do not exactly know the index of it? It might be in the "More" tab or on the main Tabbar depending on what the user sets.. Also if the tabbaritem is inside "More" I can only add a badgeValue to…
Chris
  • 3,581
  • 8
  • 30
  • 51
1
vote
1 answer

How to change page title without changing tab bar item's title as well?

I want to be able to change the page's title without affecting the tab bar's title. My current implementation is as follows: //Setting page and UITabbar title in app delegate ForYouViewController *fuvc = [[ForYouViewController…
Zhen
  • 12,361
  • 38
  • 122
  • 199
1
vote
3 answers

How to display different view everytime when a tabbar item is clicked in UITabBarBased app?

I want screen 1 to be shown when tabbaritem 1 is clicked and if I change some settings, i go to different view, , when I click the tabbaritem 1 again I want to show screen 2. I have a UITabbar based app and the MainWindow.xib has different tabs…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
1
vote
0 answers

iOS - Searching for UITabBar more icon

I am searching for the more icon of the UITabBar. I found this: http://developer.apple.com/library/safari/iPad/ui/assets/bar/UITabBarMore.png but that is only the low resolution, I also need the high resolution. Where can I get this icon? Otherwise…
Tim
  • 13,228
  • 36
  • 108
  • 159
1
vote
3 answers

Set title/icon etc to TabBarItem created in IB, through code?

I have a TabBar that I've created through IB, I chose "create new project" -> "Tab bar application". Is there a way for me to access one of the TabBarItems for customization through the code? It seems to me that something…
Tobias Tovedal
  • 731
  • 2
  • 8
  • 14
1
vote
3 answers

Reclicking in a UITabBarItem

Is there a way to give an action to a reclick of an UITabBarItem? I want to back to the initial screen of my app when the tab bar item is reclicked. I'm using a UITabBarController with UITabBar and UITabBarItens. My app have a list of views with…
flopes
  • 1,345
  • 1
  • 14
  • 21
1
vote
0 answers

barTintColor no longer works for bottom navigation

I have an app with a tab bar. The icons in the tab bar are white and the background is black. This always worked and the app is actually published like this and works fine. However today I opened the project after a few months to make some changes…
cesarcarlos
  • 1,271
  • 1
  • 13
  • 33
1
vote
1 answer

Get tab bar items in xcode to show in image original color as soon as the view is loaded

Morning ya'll. I've designed a tab bar and managed to customise it with custom tab bar items but i can't figure out how you get the tab bar items to load in their original picture color when view is loaded. My code looks like this: class GamePage:…
Vmaiuga
  • 23
  • 4
1
vote
2 answers

tabbar middle tab out of tabbar corner

I want to make a tab bar with 5 tab items. I want the middle one ( third ) to be out of tab bar's corner it may be tough to understand therefore I decided to add screenshot I want to make something like you can see above but I don't know how it's…
jemilia
  • 35
  • 4
1
vote
1 answer

Is it possible to use different colors for focused and selected state on uitabbaritems at tvOS?

In our tvOS app we have a customised tabbar. now additionally we want to change the background color of the focused/selected item. When I do by tabBarAppearance.selectionIndicatorTintColor = .purple, it changes focused and selected states to…
Kai Huppmann
  • 10,705
  • 6
  • 47
  • 78
1
vote
1 answer

How to set different titles for navigationBar and tabBarItem in iOS?

While using title property, it get sets for both i.e navigationBar and tabBar item for that VC title = "This is Home" I want to set different titles for both.
1
vote
2 answers

I need Expert Advice on this implementation of UITabBarController

I am currently in need of 8 TabBarItems, and I can show just 4 items in view. And I need to be able to scroll to the next 4 tabBarItems. In the default behavior of the UITabBar, you normally get a 'MORE' tabbaritem for more than 5 tab bar items. I…
Legolas
  • 12,145
  • 12
  • 79
  • 132
1
vote
0 answers

Tabbar item title to multiline not displaying Swift 5 - Only Working with İPhone 11 series model

I have created custom UITabBarController class and set five tabbar items. I want to set my last item which has index item 4 title/label to multiline. I have set it through code and added custom code for item multiline text but it is not working. How…
Tekhe
  • 149
  • 1
  • 12