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

UIImage not displayed

I am using iOS 7 SDK and Xcode 5. I want to set icons on UITabBarItem. I am using below method. setFinishedSelectedImage: withFinishedUnselectedImage: It was working till now. But suddenly it stopped displaying images. I tried below various options…
Geek
  • 8,280
  • 17
  • 73
  • 137
0
votes
1 answer

iOS Raised Centre Tab Button

I have seen many examples of the raised center button on a UITabBar, most being just a UIButton placed over the top but all of these need coding on every view, Is there a way of creating this without having to program every view so it will appear on…
David
  • 319
  • 2
  • 5
  • 18
0
votes
1 answer

iOS - Disable UITabbarItem from AppDelegate

I want to disable and enable later an UITabbarItem from the AppDelegate.m. (To be specific, on didFinishLaunchingWithOptions should it be disabled and after a NSURLConnection it should be enabled. I already tried creating a external method in the…
IR Works
  • 49
  • 6
0
votes
0 answers

Update badge value when user can change order of tab bar items

In my app I use this code to update notify counter: [[[[[self tabBarController] tabBar] items] objectAtIndex:3] setBadgeValue:unreadMsg]; Since the user can change the order of tabs (from "Other" menu managed from iOS), how can I find the new…
Blasco73
  • 2,980
  • 2
  • 24
  • 30
0
votes
0 answers

iOS UITabBar Background Image Hides Unselected Tabs

I am using the appearance method for UITabBar to set a Background Image on my tab bar. When I do this, the unselected icons on the tab bar do not appear any. What do I need to do to make sure those are visible, even when not selected?
user717452
  • 33
  • 14
  • 73
  • 149
0
votes
4 answers

UITabBar Appearance not working

I am trying to change the tint color of the UITabBarItem when it is selected with this line of code: [[UITabBar appearance]setTintColor:[UIColor colorWithRed:89 green:216 blue:239 alpha:1]]; However when I select the TabBar the tint color becomes…
Abdullah Shafique
  • 6,878
  • 8
  • 35
  • 70
0
votes
2 answers

UITabBar title hexa value

I need to set hexa decimal value (particular color value) for UITabBar title. I know the below the code for normal. I need to set hexadecimal value instead of blue color. If i need to set #33223 means what can i do? [[UITabBarItem appearance]…
user3073276
  • 74
  • 1
  • 2
  • 13
0
votes
1 answer

Custom Back button with image for iOS6+

I'm trying to have a custom back button with image only (no text). I'm aware that there could be slightly ifferent solution for iOS7 and iOS6. For now I'm not successfull with any. All I achieved was this: White default arrow is still there :( I…
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
0
votes
1 answer

UITabBar not selected during app startup

I'm trying to replicate the look of my app during start-up with how iTunes and App Store appear. Specifically my app has a tab bar that will get populated when it has finished downloading info from a web site - until then it should look empty. The…
petert
  • 6,672
  • 3
  • 38
  • 46
0
votes
1 answer

Implementing facebook app slide menu in TabBarItem iOS

I am a student and am trying to implement facebook app slide menu in my iOS app. Currently, I have it implemented using UIBarButtonItem, using SWRevealViewController API as explained in here. I have been researching on how to implement this using…
blenzcoffee
  • 851
  • 1
  • 11
  • 35
0
votes
1 answer

Misaligned bottom tab icons iOS7

I'm building a tabBarController and adding some subviews in it, here is what I get: On iOS7 the tabBarItem appears misaligned Until I do click on one of them which realigned each tab This do not appears on iOS6, have you experienced a similar…
Flavien Volken
  • 19,196
  • 12
  • 100
  • 133
0
votes
1 answer

Custom iPhone "More" TabBarItem

Does anybody know how to rename the "More" tabBarItem? In other words: How to access to this object?
0
votes
1 answer

Detect a re-tab on selected UITabbarItem

I'm trying to detect a re-tab on the selected UITabbarItem. I'm using a UIWebview which url needs to be reset to the homepage again after re-tab on the Home button at index 1 in the UITabbar. Problem is: I'm using a storyboard and tried to make the…
0
votes
1 answer

How to create smooth png for uitabbaritem?

When I create png in Photoshop with parameters 30x30pxl, clear background with white lines it looks like poor resolution. link to snapshot of presenting tabbaritem: http://yadi.sk/d/9zrBjrjxBFyva I want smooth lines in this picture. What way I can…
0
votes
2 answers

Add icons in UITabItem for UITabBarViewController with Xcode 5.0

I would to use a tabbar based app. So, I added a UITabbarViewController in my storyboardapp but I can't configure the tab icons. When I set the icon in the tabItem I see only a gray shape... I use xcode 5.0. Is there a particular way to set icons…
Safari
  • 11,437
  • 24
  • 91
  • 191