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

changing tabBarController Index from another viewController programatically

Short explanation. I have a ContainerViewController that I'm pushing to a navigationStack. The ContainerViewController has 2 child UIViewController. A SlidePanelViewController (a slide-out menu) and a CenterViewController (the content), my…
Mark L
  • 759
  • 2
  • 12
  • 29
0
votes
0 answers

How to change UITabBaritem title from the storyboard

So i have this tab bar item But i want to change the title to Custom Title If i change the title in the section "Bar Item" I cannot use the History system icon. Is there a way to change the title and still keep the Default icon?
DelGiudice
  • 1,847
  • 1
  • 17
  • 14
0
votes
0 answers

ios:Bring Child view to Front view in tabbarcontroller

I am writing an application with help screens. As per my requirement I need to show the help screens when the view appears for the first time and I am placing the code on the tabbar controller class as (void)viewDidLoad: { [super viewDidLoad]; …
0
votes
1 answer

iOS Tab Bar Item Custom Images

I have been attempting to create a tabbed application with tab bar items that are custom images, but no matter what I do there is always a tint over it. Is there any way to use the image and preserve all the original colors without it automatically…
user2985289
  • 203
  • 1
  • 3
  • 10
0
votes
1 answer

How to make simple UITabBarController in Swift?

I created a UITabBarController class I created two view controllers and set the title property for each one I want to change the size and the color of text label within the tabs I already set the tab color and frame…
0
votes
1 answer

Is it possible to change the background color of just one tabbaritem?

I want to change just one of my tabs' background colors. I also want to change only one of their tint colors. How would I do this using Swift? self.tabBarController!.tabBar.barTintColor = UIColor.whiteColor() var tabBarItems =…
Randall Stephens
  • 1,037
  • 1
  • 10
  • 16
0
votes
1 answer

UITabBar Controller tab to navigate to different UIViewControllers

I have a UITabBar controller with 6 tabs created in IB set up using Relationship-viewControllers. I would like one of the tabs to programmatically call one of two different UIViewControllers depending on a set of criteria. Is this possible, and if…
Mark__C
  • 825
  • 1
  • 13
  • 24
0
votes
3 answers

TabBar / "More View Controller" - Possible to have icons in colors other than black?

Is it possible to have the icons in a TabBar and / or the "More navigation controller" be in colors other than grey and black? I tried changing the color of the icon I set for the view controller using UITabBarItem's - (id)initWithTitle:(NSString…
Malakim
  • 1,333
  • 2
  • 18
  • 34
0
votes
1 answer

White image in UITabBarItem

the last days I tried to create an UITabBarItem as UIImage. But I only get a white square. I tried to use a png 8, png 24, gif and jpg. The image will be fond becaus if I change the image to a bigger one the white square also will be bigger. This…
Andreas Prang
  • 2,187
  • 4
  • 22
  • 33
0
votes
0 answers

Update tab bar Item badge in iOS

In my iOS application I have 2 tab bar items called 1tab and 2tab. Now, 1tab is selected, so 1tab's view controller is loaded. 2tab's view controller isn't loaded, but I still want to push and mark 2tab with a "New" badge. How can I control the…
석진영
  • 243
  • 4
  • 13
0
votes
1 answer

How To change Tab Bar Seleced Image? | Swift

While it was pretty easy to set it up in Objective C, I find it difficult with Swift. I'm having a Page View Controller which leads me to a Tab Controller (kind of tutorial). I'm trying to change the selected and unselected to my two images I've…
XcodeNOOB
  • 2,135
  • 4
  • 23
  • 29
0
votes
1 answer

Is there anyway to remove tabbaritem ios?

So like i said in the title, my question is : Is there anyway to remove one tabbaritem without remove view ? I have readed about UITabBarController , but remove the view not the item. I need to have 4 childViewControllers in my TabBarControlller…
Ionel
  • 31
  • 3
  • 11
0
votes
1 answer

UITabBarItem setBadgeValue:nil throws EXC_BAD_ACCESS

I have a tab bar, and I'm trying to remove an item's badge value by setting it to nil. However, sometimes, I'm getting an EXC_BAD_ACCESS error. The main thread is suspended after the exception, and I'm poing: (lldb) po [[self.tabBar items]…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
0
votes
1 answer

How do I make a UIBarButtonItem be a circle and behave like a UIButton

I have a tabbar and I want to add a UIButton (giant box) on top of the center. How do I make a UIBarButtonItem do this? I want layers, rounded borders, etc.
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
2 answers

Is there any way to call a method from uitabbaritem and not load a uiviewcontroller?

I have a tabBarController which holds three viewcontrollers,and I want to add another UITabbarItem to the tabBarController which calls an alertView to display. The tabBarController is on storyboard.
trimi
  • 512
  • 1
  • 3
  • 5