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
2 answers

Badge on the tab bar item did not show

In my app, the badge value of my tabBar item is set in the AppDelegate.m, as following: AppDelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... UIStoryboard *storyboard…
lu yuan
  • 7,207
  • 9
  • 44
  • 78
1
vote
1 answer

selectionIndicatorImage

How can I remove this mask? I don't found any solution about it. Please help me Thanks!
B. Altan Kocaoglu
  • 373
  • 1
  • 7
  • 19
1
vote
1 answer

iOS : animate a uiTabBarItem

I'm trying to animate a UITabBarItem in my application. I would like to make the image "pulse", to indicate to the user that there is something new. I've been searching for a while now, but i don't find anything. I will using the animation of…
Gael.D
  • 500
  • 1
  • 5
  • 16
1
vote
2 answers

reorganize tab bar items

I have an app with 5 tab bar items. I want to re-organize them, so I want to move the last position item to the 4th position. Is there an easy way to do this? Thanks!
user988739
  • 25
  • 1
  • 4
1
vote
1 answer

UITabbarController change items dynamically

I want to edit UITabbarItems during the view life time. The background is that I have an App with login view and according to whether the user is admin or not, the admin TabbarItem should be visible or not. I'm using this code to initially create…
1
vote
1 answer

Unable to set action for UITabbarItem Programmatically

i need to set action for my UITabbar, As when i click my tabbaritem it should go to an action which i am having in another viewcontroller. but it is redirecting to UITableview here is my code - - (BOOL)application:(UIApplication *)application…
1
vote
1 answer

UITabBarButton With Action

How can I add a UITabBarButton with a button that triggers a modal view, rather than just showing one of the tab bar view controller's views? RedLaser accomplishes this. Notice the red "scan" button below. Also, how can I substitute one of the tab…
The Kraken
  • 3,158
  • 5
  • 30
  • 67
1
vote
1 answer

Increasing tabBarItem image size

okay so i am programatically adding the images to my tabbaritems like so self.button1.image = [UIImage imageNamed:@"156-controlpad.png"]; I am wondering if there is a way to increase the size of the images from the 30x30 "what they normally are" to…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
1
vote
0 answers

How to get rid of the icon shadow on a tab bar

I have a tab bar application and on each icon on my tab bar there is a shadow: The code to apply the icon is: I am wondering what i should do.
Real Tuty
  • 31
  • 2
  • 5
1
vote
2 answers

How do I resize the tab bar items in Xcode 4.3.1?

I've been searching on how to resize the tab bar items on the "Tab Bar Controller," but obviously couldn't find anything. The reason why I want to do this is because I have exactly 6 items, and it causes the "more" item to be created whenever you…
1
vote
3 answers

Replace TabBar items dynamically

I have a UITabBarController with two UIViewControllers f.e "All Messages", "Favourite Messages". For some action I need dynamically replace my UITabBar items with new (Other actions, other images)... so it should be "Like" and "DisLike" instead of…
Injectios
  • 2,777
  • 1
  • 30
  • 50
1
vote
1 answer

How to set the color of the badgeValue in UITabBarItem

How do I set the color of the badgeValue in UITabBarItem. The default red color signals that something is wrong - in my case it is just information.
0
votes
2 answers

UiTabBarController crashes on popToRootViewController

My application crashes when selecting a tab. Here is the code that crashes. - (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { if ([viewController…
kgibbon
  • 726
  • 1
  • 15
  • 37
0
votes
1 answer

UITabBarItem Show/Hide

Good morning, I'm trying to hide a UITabBarItem and after read lots of posts here, I'm getting crazy....I can get the tabItem properly, but it doesn't hides. I setup my TabBar in Storyboard. Here is my code..none of the 3 options I tried…
Christian
  • 382
  • 2
  • 11
0
votes
1 answer

How do I add a background Image for individual UITabItem in iOS5?

I am very much new to iOS. I am trying to create a customized Tab Bar for my app. I tried the following code UIImage *tabBackground = [[UIImage imageNamed:@"image1"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0,…
Nik
  • 2,913
  • 7
  • 40
  • 66