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

Change Color of Unselected Tab Bar Item

I have a tab bar controller and I've managed to make the selected tab image and title black and the unselected item titles white but I can't get the unselected item images to be white. In my tab bar controller: - (void)viewDidLoad { [super…
raginggoat
  • 3,570
  • 10
  • 48
  • 108
1
vote
1 answer

UITabBar badge position in iOS7 is not right

The badge is not fully visible. it seems as if the other tabbaritem is partially covering it. This it eh code i used to set the images on the tab bar: selected = [[UIImage imageNamed:@"tab_new01.png"]…
1
vote
3 answers

Customizing UITabBar items

I have a simple design for each TabBar item : a background color: firstTab width = 1/3 of the screen(left) height = tabBarHeight secondTab width = 1/3 of the screen(in the middle) height = tabBarHeight thirdTab width = 1/3 of the screen(right)…
Shishi
  • 601
  • 2
  • 8
  • 27
1
vote
1 answer

iOS 7: UITabBarItem image crops at bottom

I have a UITabBar with 4 tabs. 3/4 tabs have a title and an image. I'd like to show only an image in the first tab. It works on simulator good, but on iPhone it looks like the screenshot. It crops at the bottom. Icon sizes: 46x42 for 2,3 and 4th…
Artem Z.
  • 1,243
  • 2
  • 14
  • 36
1
vote
1 answer

iOS 7 Tab bar icons temporarily disappear when on More tab

When I add a view controller embedded by navigation controller, to a tab bar, its icon + title disappear briefly when coming back to the More tab. However when the view controller is added as such, the icon+image are okay and don't disappear. I've…
meaning-matters
  • 21,929
  • 10
  • 82
  • 142
1
vote
1 answer

Setting titles programmatically in a UITabBarController

Working with UITabBarController, I am facing the following issue. I want to have a given string as the title for all my view controllers, in each tab. This is apparently not possible to set within the storyboard. By searching the net I have found…
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
3 answers

Set UITabBarItem image/icon in Interface Builder

I am creating a custom view in Interface Builder. The view has a UITabBar at the bottom. I want to set the icon of each "button" to one of the system provided icons that are in Apple's UITabBarItem Class Reference. I tried to do this by typing in…
user3124010
1
vote
1 answer

Tab Bar Controller Items Missing on Storyboard

I am not really sure what is happening with my xcode project. I am unable to edit the tab bar items in the story board. They are all greyed out as you can see below. Could you please let me know what might be causing this? Thank you.
Gokhan Dilek
  • 4,314
  • 4
  • 21
  • 24
1
vote
1 answer

Strange lines in UITabBarController

I am experiencing a strange white line between tabs in UITabBarController. I am using following code [[tabBarControllerObject.tabBarController.tabBar.items objectAtIndex:0] setFinishedSelectedImage:[UIImage imageNamed:@"ios_home_selected.png"]…
Chahal
  • 995
  • 2
  • 14
  • 24
1
vote
1 answer

When editing order, uitabbaritem icons do not appear on edit view

In iOS 7, Apple has changed the background of the tabBar, edit screen (Where it says "Drag the icons to organize tabs.") to white. Problem: This causes a problem for me, in that my selected tabbaritem images are white, therefore you cannot see them…
DrBankHead1
  • 143
  • 1
  • 1
  • 11
1
vote
2 answers

Resize image in UITabBarItem programmatically?

I have this code who, put an image inside a barItem: frist.tabBarItem.image = [UIImage imageNamed:@"1.jpg"]; It works perfectly, but the image does not appear, because the image have 256x256 pixels, I've heard that the image must have a 30x30…
user3372120
  • 134
  • 1
  • 10
1
vote
1 answer

The TabBarItem disappear when I push in other view

I have a TabBarApplication with four views in the main TabBarItem. The problem comes when I go to any of these views and click in any button to go to another view and when I go back by a button linked to the main view, the TabBarItem of the app…
AvkZ
  • 23
  • 6
1
vote
6 answers

Icon images not showing on tabbar in iOS 7?

I am going one page to another and that another page have UITabbarcontroller. That have: Home 2. CutPipe 3. Fitting 4. Flange 5. Setting Now these five names are showing but I have these five icon images that are not showing and screen showing…
Tina
  • 31
  • 1
  • 5
1
vote
1 answer

UITabbarController setting initial view

In my app, I have 5 tabs for navigation. However I would like my middle tab (tab 3) to be the one that is first displayed when the app is first loaded. Is there a way to do this?
Khledon
  • 193
  • 5
  • 23
1
vote
3 answers

UITabBar + UINavigationBar conflict title

I have a UITabBar and a UINavigationBar created in IB, when I launch my application everytime I navigate the UINavigation title change because I'm using self.title = @"NAME"; my problem is that the UITabBarItem will change with the same name at…
ludo
  • 1,479
  • 5
  • 25
  • 50