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
votes
3 answers

iOS tabBarItem badge value change from any View

Im developing an iOS app using objective c. in my app if user is not register then register view controller is rootViewController. if user is register then tabBarController having three tabs is rootViewController. i have to set tabBarItem badge…
goks
  • 1
  • 3
-1
votes
1 answer

didSelectViewController behaviour when re clicking/tapping on the active tab bar item

The documentation says that the didSelectViewController method of the UITabBarControllerDelegate is called when re-clicking on the selected…
jptsetung
  • 9,064
  • 3
  • 43
  • 55
-1
votes
2 answers

Get the color of uitabbaritem with unselected state?

I changed the color of uitabbaritem (text + image) with unselected state. I would like to know if there is a way to get this color ? I know we can get the selected color with [UITabBar appearance].selectedImageTintColor but for the unselected color…
SuisJeux
  • 213
  • 2
  • 9
-1
votes
1 answer

UITabBar item hiding error

Giving error when trying to hide tab bar item -[UITabBarItem setHidden:]: unrecognized selector sent to instance 0 CoreFoundation 0x0493cdf6 exceptionPreprocess + 182 1 libobjc.A.dylib 0x03fe4837…
Pradumna Patil
  • 2,180
  • 3
  • 17
  • 46
-1
votes
1 answer

How to tint uitabbar's badge?

How can I tint uitabbar's badge? Or how to add subview with exactly same position as default badge has. Maybe somebody did such stuff and would like to share with me now?
Timur Bernikovich
  • 5,660
  • 4
  • 45
  • 58
-1
votes
1 answer

hide UITabBarItem

hy I have an UITabBarController relied to 5 UiViewControllers, so my UiTabBar has 5 items. I want to just hide the last item from the bar and note remove it. (the tab must still accessible programmatically with…
user1635536
-2
votes
1 answer

UITabBarItem badge colour is showing grey

For some reason badge on one Tab item is showing grey colour. I'm not sure why. It happens only for one Tab, for the rest of tabs it is correct (red colour). How do I fix it? What to look for?
Raymond
  • 1,108
  • 13
  • 32
-2
votes
2 answers

iOS Simulator shows white background on transparent images with template rendering mode

The icons in my tab bar are showing white backgrounds behind them even though the image set in the Asset catalog has "Render As" set to "Template Image". Here are some cases: No background set at all on the UITabBar Same image darkened and contrast…
bpercevic
  • 450
  • 6
  • 14
-2
votes
1 answer

Open another app when selected a UITabBar Item

I'm pretty new to programming, I'm working on an app with a UITabBarController I want to open another app when one of the Tab Bar Items is selected. I put the code in the viewDidLoad, and when I start the app and click on the Tab Bar item for the…
-2
votes
2 answers

How do I update the badge number for uitabbaritem when a new push notification arrives

How can I update the badge for a specific UITabBarItem when a new push notification arrives? For example like the activity tab in Instagram
Gil
  • 559
  • 6
  • 18
-2
votes
2 answers

Need to add image in tab bar items where “More” button will be there

I am now working in a universal application. Here the deployment target i iOS 6.0 and I am working on Xcode 6.0.1 with Objective-C. I am facing problem to put image on tab bar items. I will have 6 or 7 tab bar items in the tab bar controller, so…
Bis
  • 713
  • 1
  • 5
  • 7
-3
votes
1 answer

UITabBarItem click/touch event

I have declared a UITabBarController in my AppDelegate.m file. I have two viewcontrollers in this UITabBarController. In each of the views, lets call them view1 and view2, i have the following code: self = [super initWithNibName:nibNameOrNil…
Pett
  • 3
  • 4
-3
votes
1 answer

suffering with UITabbaritems

For some days now I have been suffering with UITabBarItems. I have done my application in programatical way, not using Interface Builder. I have both a UINavigationBar and a UITabbarController. From home page when I have proceed with navigation (I…
-4
votes
1 answer

How can we set different height for particular UITabBarItem's image in UITabBar?

I have an image for middle UITabBarItem which should start from the bottom and align with existing UITabBar. How can I change the height of UITabBarItem for middle item?
AppleBee
  • 452
  • 3
  • 16
-4
votes
1 answer

How do I fully customise TabBar in iOS

I need to customise TabBar in my iOS Application as shown in the image I need to change the background colour, unselected image tint colour and selected image tint colour. How can this be done
Sidharth J Dev
  • 927
  • 1
  • 6
  • 25
1 2 3
66
67