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

BadgeValue not working on moreTableView of TabBarController for iOS 5 (works fine on iOS 6)

I have a badgeValue for a ViewController thats shown inside MORE tableview. It works fine on iOS 6 but doesnt work at al with iOS 5 or below. I am setting the badgeValue of the tabBarItem to set the value to be shown. Can anyone kindly suggest what…
Ahsan
  • 2,964
  • 11
  • 53
  • 96
2
votes
1 answer

How to hide UITabBar Selection style?

In my app,I have a UITabBar.I want to hide/remove that tabbar item selection style ie.,that glossy effect.Is it possible to do it programmatically?..Also is there any way to position the tab bar items programmatically.
NSUserDefault
  • 1,794
  • 1
  • 17
  • 38
2
votes
0 answers

How to set two line text in UITabbar (Using Storyboard) in iPhone?

Currently i am working in iPhone applications, Using Storyboard to create tabbar app in iPhone, then i set text like download images, download books, download musics etc.. finally i run thae application, it seems to stretch all tabbar items, but i…
SampathKumar
  • 2,525
  • 8
  • 47
  • 82
2
votes
2 answers

UITabBarItem and icon size

I am using UITabBarItem. If i set image, its not correctly displayed. Image is "zoomed", so I can see only top part of it. Image size is 60x60px. I am setting image from xcodes XIB editor -> BarItem -> Image Whats wrong with it ? According to Apple…
Martin Perry
  • 9,232
  • 8
  • 46
  • 114
2
votes
1 answer

Resize the UITabBarItem

Is it possible to change the size of an UITabBarItem? I'm not talking about the image inside the UITabBarItem, but the UITabBarItem itself. For example if you have four UITabBarItems in a UITabBar, is it then possible to "merge" the two…
k-bear
  • 57
  • 9
1
vote
0 answers

Button push to specific tab bar item?

I thought this is quite simple but I can't seem to find the answer. I have a view controller with 3 buttons, one of these buttons has a push segue to a tab bar controller. When pressed I presume it loads the '0th' tab item which is the fine for the…
1
vote
1 answer

UITabBarController temporarily missing item title and image in More Navigation Controller

"Has this ever happened to you?" (Note: The following is ARC-friendly code, hence no autorelease call or retain/release pairs.) #pragma mark - UIViewController - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { …
Joe D'Andrea
  • 5,141
  • 6
  • 49
  • 67
1
vote
3 answers

Set original images to tab bar items

I would like to know in UITabBar,if there's any way to set the colored(original) images to tab bar items,Upon several searches I came to find out the way to change the color of tab bar i.e. set a colored bar image which will do the…
Eshwar Chaitanya
  • 697
  • 10
  • 21
1
vote
1 answer

UITabBarItem remove background color gray/blue

I wonder if is possible to remove background color on selected Item of a UITabBar I want to remove gray background of UITabBar button. Is it possible ?? I put selected and normal image on delegate method: - (void)tabBar:(UITabBar *)theTabBar…
ikanimo
  • 481
  • 1
  • 4
  • 18
1
vote
2 answers

tabbar item image and selectedImage

I have a tab bar controller (its a tab bar based application, so tab bar is on MainWindow.xib). In this xib, I have added 4 tab bar items and I have set the image of all tab bar item. Due to this, I am facing 2 issues: 1) The image is white-colored,…
anshul
  • 846
  • 1
  • 14
  • 32
1
vote
1 answer

can text be written in badges

I am writing an application in which i inform the user of some events by 2-3 letter words written in tab badges. It works fine and according to me looks fine. The thing is; in the iOS Human Interface Guidelines, under the Appearance and Behavior…
aytunch
  • 1,326
  • 1
  • 16
  • 31
1
vote
6 answers

tab bar item title programatically not showing in objective c

I try create tab bar controller programatically, it works but I can not set title to ta bar items. I can not see title when I running my application. My code is here. Please help me, what is the problem? - (void)viewDidLoad { [super viewDidLoad]; //…
1
vote
1 answer

UITabBar navigation and presentModalViewController

I have UITabBar based navigation and want always tabbar on top other widows. In one controller i have method which opens other controller, but when i use this UITabBar disappear. What i should do more ? ThirdView*third =[[ThirdView alloc]…
Streetboy
  • 4,351
  • 12
  • 56
  • 101
1
vote
2 answers

iOS 5: UITabBarItem setFinishedSelectedImage:withFinishedUnselectedImage: not working / ignored

As per Apple docs I'm trying to set custom finished selected and unselected images on a UITabBarItem like so: ... DetailViewController *vc1 = [[DetailViewController alloc] initWithNibName:@"DetailView" bundle:nil]; UITabBarItem *vc1i =…
taber
  • 3,166
  • 4
  • 46
  • 72
1
vote
1 answer

How to remove gradient effect and drop shadow for UITabbaritem image

Hi i will like to remove the gradient effect and drop shadow for UITabbaritem image, is it easy to do it ?
Desmond
  • 5,001
  • 14
  • 56
  • 115