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
1 answer

Programmatically assign view controller to tab bar controller

I am fairly new to swift and am trying to create a movie database application using TMDB from Apiary. I have created the layout of the view controllers for one category. However, I am planning to have multiple categories, the but only difference…
1
vote
0 answers

Xcode can I animate UITabBarItem image in Objective-C?

I would like to know if I can animate image in UITabBarItem. I would like to achieve "Springboard" effect, just like the one on the iPhone main screen for managing apps. I have five items in my UITabBar and I would like to animate only item two,…
Matic1911
  • 381
  • 1
  • 3
  • 13
1
vote
2 answers

Swift Two Tab Bars shown and not sure why?

Does anybody know why I might have these stacked tab bar? I don't see where this would be in any of my view controllers and what code i would even look for. If guidance on what would even generate this would help. It's a fixed bar on the bottom…
David Dong
  • 11
  • 3
1
vote
1 answer

Individual UITabBaritem tint color

I'm trying to implement a custom UITabbar. Anything I found involves overlaying a Rectangle over the tabbarItem. So is there any straightforward way of doing this?
1
vote
2 answers

Changing tintcolor for a specific TabBarItem in Swift

I have 3 TabBarItems in my ViewController One of them is default when screen loaded. But it is not highlighted I am trying to highlight it manually verride func viewDidLoad() { super.viewDidLoad() if let items = self.TabBar.items…
Yaroslav Dukal
  • 3,894
  • 29
  • 36
1
vote
0 answers

How do I match a UITabBarSystemItem's localized string?

I have an application with a UITabBarController which is using a UITabBarSystemItem(Favorites) for one of the tabs. How do I set the title of respective view controller to be the same localized title of the UITabBarSystemItem? UITabBarItem when…
Steve Moser
  • 7,647
  • 5
  • 55
  • 94
1
vote
1 answer

UITabbarController:Is there any way to Switch Tabbar Item(s) of Tabbar

The senario is, I a TabbarViewController, which contains Tab {A, B, C, D}. After User clicked Tab:B, instead Tab {A, B, C, D}, I want show {E, F, G} as the Tabbar item on the Tabbar. Is there any way to switch Tabbar Item Set? I'm a newbie to iOS.…
1
vote
3 answers

TabBar item tint color does not change

I have a tab bar with 5 tabs. I have put different images for selected and unselected state of the tab bar items. No matter what I do, the tint color does not change and it does not adapt the image color. When the tab is selected, the color should…
s.d.
  • 363
  • 3
  • 14
1
vote
2 answers

iOS Swift tabBarItem intersects tabBar border

Please note: this is iOS Swift 2.0 I have added a tabBarItem to my UITabBarController. The image is intentionally larger than the height of the TabBar itself (by design). When this renders on the phone, there is a black line through the image of…
chriswirz
  • 278
  • 1
  • 9
1
vote
1 answer

Swift: how to change Edit/Done buttons behaviour/function

In my iOS app I have a UITableViewController whose rows contain data and data picker. I want to change te function of the buttons Edit and Done. I would like the Edit button to allow the user to write/insert data (instead of deleting rows), while I…
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
1
vote
0 answers

Setting Tab Bar Image Insets

I have subclassed UITabBarController, and am setting my tab bar image insets in its viewDidLoad as follows: UITabBarItem *feedBarItem = self.tabBar.items[0]; [feedBarItem setImage:[UIImage imageNamed:@"feed_icon"]]; [feedBarItem…
user3298872
  • 231
  • 2
  • 10
1
vote
1 answer

UITabBarItem grows when touched

I have a tab view controller with 3 tabs, custom icons. I used insets to enlarge them slightly and compensate for the lack of titles. All of this is done in the story board, the only code for these items is setting the text to "" since it always…
rjb101
  • 514
  • 5
  • 14
1
vote
1 answer

Selection Field Customisation in UITabBar

I need to customise the UITabBar as shown in this image, for my project. Is it possible to do so? And if so, how can it be done? the selection field should have this "orange" shade
Sidharth J Dev
  • 927
  • 1
  • 6
  • 25
1
vote
1 answer

Use tab bar button to reset view?

I have a tab controller which is displaying my home screen. In my home screen, there are optional filters for my collection view there. I would like the filters to be reset if the user taps on the same tab bar button. Currently, tapping on the tab…
TruMan1
  • 33,665
  • 59
  • 184
  • 335
1
vote
2 answers

How to get the tag of selected UITabBarItem in UITabBarController for more than 5 items?

In Storyboard I created UITabBarController with 6 relationships to another view controllers. So now I have 6 UITabBarItems. I tagged them from 0 to 5. This is why I detect what UITabBarItem was selected by user. NOTE: I cannot use selectedIndex…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358