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

How to use a glyph icon in place of a UITabBarItem image?

I am new to iOS development and working on a iOS mobile app where I would like to use a glyph icon instead of the UITabBarItem image. But I am not able to figure out how can I use this. Any help will be appreciated.
Vikas Gautam
  • 1
  • 1
  • 1
0
votes
2 answers

Pass value from one Tabbar controller to another controller in Xamarin

Pass value from one TabBar controller to another Controller and set value. I have 5 UIViewcontroller which is added to UITabBarController. controller1 = new Controller1(); controller2 = new Controller2(); controller3 = new Controller3(); controller4…
kiran
  • 4,285
  • 7
  • 53
  • 98
0
votes
3 answers

How can I remove the blue square that overlays UITabBarItem when selected?

I have an iPad app (Xcode 5, iOS 7, ARC and Storyboards). I have a UITabBarController, and each scene has a UITabBarItem. When I tap a tab bar item, it goes to the correct scene, but the "current" tab bar item image is overlaid by a "blue box". How…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
0
votes
0 answers

How to customize tab bar item image on runtime

I need to change the image of the tab bar item based on one of the option selected in my first tab at runtime. Whenever user changes the option the tab bar item image should change. For example: I have 3 tabs. In first tab I have following…
0
votes
1 answer

is it possible to add UILabel inside Tab Bar Item (BadgeValue)

Referring above image: 1. The issue is to set Number inside circle of Tasks image in "Tasks tab". 2. Is it possible to set number i.e UILabel at given location inside tab bar item? Thank You. Updated: This is what i wanted and got using badge…
Yogesh Lolusare
  • 2,162
  • 1
  • 24
  • 35
0
votes
1 answer

Problems showing badge on UITabBarItem with UIImageRenderingModeAlwaysOriginal image

I'm trying to show a badge on some UITabBarItems that are configured with an image with UIImageRenderingModeAlwaysOriginal. I'm doing this because the desired effect is something like a raised UITabBarItem a-la Instagram. This is the code I'm using…
Pierluigi Cifani
  • 224
  • 2
  • 14
0
votes
1 answer

ios UITabBarController change to another UITabBarController

Is it possible to redesign a UITabBarController when clicking on a UITabBarItem? When starting the app I want to have 5 UITabBarItems: self.myTabBarController = [CustomTabbarControllerViewController alloc]…
just ME
  • 1,817
  • 6
  • 32
  • 53
0
votes
2 answers

TabBar item Images blur in retina display

I am having an issue with Tabbar Controller that images of tab bar item is blur in retina iOS devices . Here is my code for images in tab bar item is following: float itemW; CGRect screenBounds = [[UIScreen mainScreen] bounds]; CGFloat screenScale…
Arpi
  • 397
  • 2
  • 5
  • 14
0
votes
0 answers

is awakeFromNib only called once?

So in my app a user can receive messages. I use awakeFromNib to update the badge value(which represents number of unread messages) of a tab bar item as soon as the tab bar controller loads (for a different tab bar item then the initial view) and…
shreyashirday
  • 892
  • 1
  • 10
  • 34
0
votes
2 answers

Tab Bar Controller Storyboard click event on tab bar item

I have a Tab Bar Controller in Storyboard, connected with 2 views. In View 2 (TimelineView) I had set in .h file: @interface Timeline_Overview : UIViewController{ } @property (nonatomic, retain) IBOutlet UITabBarItem…
Nils
  • 1,469
  • 3
  • 13
  • 17
0
votes
3 answers

Using UITabbaritem as a UIButton

Is there a way to use UITabbaritem as a UIButton? I am trying to make a Tabbar that its items don't change the view. Just want them to do simple actions in the same view controller. Thanks.
Adhamox
  • 397
  • 10
  • 19
0
votes
2 answers

How to customize my UITabBar. White icons on gradient background

iOS 7.0. I need to make your design UITabBar. The picture (this link) shows how it looks now and how it should look. The difference is that: 1) The images on the buttons of some dirty color, and should be white 2) The selected item is highlighted…
0
votes
1 answer

Best way to make tabbaritem images smaller

What is the best way to make tabbaritem images smaller? Right now my images are 60x60 with @2x and they feel too larger. Id like to make them more like Facebook's tabbaritem size.. For some reason I feel like simply decreasing the image pixel size…
sudo
  • 1,648
  • 1
  • 20
  • 22
0
votes
2 answers

Customize UITabBarItem in UINavigationController

How can I change background color of UITabBarItem? I need something like this: (color under wallet)
Konstantin.Efimenko
  • 1,242
  • 1
  • 14
  • 38
0
votes
3 answers

iOS - Simple way to check which UITabBar option is selected

My objective is to make an if/else statement so that I can say: if a TabBarItem is selected, setSelectedImageTintColor to this color. I am new to ObjC and not exactly sure how to implement the if statement. Here is my viewDidLoad: -…
Eichhörnchen
  • 592
  • 2
  • 12
  • 27