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

Programmatically add a TabItem for a new CollectionView

I'm an XCode newbie and I'm trying to achieve what follows with an iOS8 app: create a Tabbed Application with a single initial tab that contains a text field and a button to: create a new CollectionView and add a new tab item to reach it be able…
TShirt
  • 3
  • 3
0
votes
1 answer

changing the title of standard tabbar icons

Is that possible to change the title names for standard tabbar icons provided by apple. Say for standard download the icon is like a down arrow with a text download, when i try to change the title in the interface builder it is not getting reflected…
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
0
votes
1 answer

Changing UITabBarItem image's color

I'm having an hard time trying to change the color of my UITabBarItem's icon. I used the code below to initialize all the parameters: // Settings Tab tabBarController?.tabBar.translucent = false tabBarController?.tabBar.barTintColor =…
Sara Canducci
  • 6,231
  • 5
  • 19
  • 24
0
votes
1 answer

How to resize an UITabBar selection indicator image in landscape

I'm customizing a UITabBar in a UITabBarController subclass ("CustomTabBarVC"). I wanted to use a custom selection indicator image, so I wrote this in the "CustomTabBarVC" implementation: - (void)viewWillLayoutSubviews { CGFloat tabItemWidth; …
AppsDev
  • 12,319
  • 23
  • 93
  • 186
0
votes
1 answer

Set UITabBarItem Badge

I am using Swift and Parse.com to develop an app for iOS 8. I have an app with 2 tabs. The second tab queries a table in my Parse database and I want to update the badge value of the second tab based on the number of objects in that Parse Query. I…
Max
  • 1,974
  • 2
  • 16
  • 24
0
votes
1 answer

Getting Default Unselected TintColor of UITabBarItem Image

how do we get the default color of unselected UITabBarItem Image? Searched all over SO only returns methods to change, while what I want is only to get the color. Any idea?
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
0
votes
1 answer

locking tab bar items and unlocking via login page

Hey guys having trouble with the UI tab controller, So I have a login screen as my first controller I was wondering if there is a way to lock tab bar items and then unlocking them after login is successful? At the moment I'm using NSDictionary to…
cc_hey
  • 63
  • 1
  • 11
0
votes
2 answers

Remove mask from deselected tabs UITabBarItem Swift

I am trying to implement an UITabBarController with 2 UITabBarItems . I added in storyboard the TabBarController. I almost did it, but still I am blocked with 2 important issues: 1) Here is how tab bar should look: Please ignore orange button,…
Bonnke
  • 896
  • 1
  • 12
  • 24
0
votes
1 answer

How to customise the UINavigationBar that appears when there are too many UITabBar items?

The main thing that I'd like to change is the tint of the UINavigationBar that appears in the "More" item of a UITabBar. I've done this for other NavigationControllers in normal items, but I haven't found where the one in the More item is defined.
0
votes
2 answers

Swift - Start recording audio when a user taps a uitabbaritem

My iOS app uses a tab bar controller, and when a user taps the "record" icon uitabbaritem in the tab bar, I want the icon image to change and audio to start recording straight away, then when the new "record" image is tapped, I want the image to…
0
votes
2 answers

Separate alpha for UITabBar and UITabBarItem

I need to set alpha parameter for my UITabBar. I do that the following way: self.tabBarController?.tabBar.alpha = CGFloat(0.2) Probably it works, but here is result: As you can see UIBarButtonItem has alpha of 0.2 too. How can I set separate alpha…
Nikita Zernov
  • 5,465
  • 6
  • 39
  • 70
0
votes
1 answer

Non Standart UITabBarItem Action

I have UITabBarController with view So on every TabBar I have ViewController. But on my center UITabBarItem I need to call something like modal UIViewController. And It should be like this My UITabBarController class look like class…
nabiullinas
  • 1,185
  • 4
  • 20
  • 41
0
votes
1 answer

Programmatically selected tab doesn't show hightlight overlay

I'm trying to programmatically switch tabs. I tried to do this using the following calls: tabBarController.selectedIndex = 2; tabBarController.selectedViewController = checkinViewController; In both cases, This is what I get:alt text…
samvermette
  • 40,269
  • 27
  • 112
  • 144
0
votes
3 answers

Hide tab for current view controller in tab bar controller

I was just wondering how I can hide the tab item in the Tab Bar Controller for the current view controller which is selected
Bobby W
  • 836
  • 8
  • 22
0
votes
1 answer

How to present UIImagePickerController from tab bar item

I have a UITabViewController. I'm trying to modally present a UIImagePickerController when a specific tab bar item is selected. It must appear over the current UIViewController. This is like what happens in the Instagram or Periscope app when you…
Tometoyou
  • 7,792
  • 12
  • 62
  • 108