Questions tagged [uitoolbar]

A toolbar is a control that displays one or more buttons, called toolbar items. A toolbar momentarily highlights or does not change the appearance of an item when tapped.

A UIToolbar is a bar of buttons in an iOS app. As formally defined by Apple, it is a control that displays one or more buttons, called toolbar items. A toolbar momentarily highlights or does not change the appearance of an item when tapped. Navigation controllers can display toolbars on the bottom of their views and manage the items for their child view controllers. The UIToolbar Class Reference can be found here on Apple's developer page.

The UIToolbar is also part of an important group in the iOS user interface, along with the status bar, navigation bar, tab bar, which all have specifically defined appearances and behaviors in iOS apps.

1285 questions
0
votes
1 answer

Multi-row UINavigationBar / UIToolbar like in the Maps app

In the iPhone Maps app (for iOS 5) in Directions mode the toolbar is located right below the navigation bar, and the toolbar gradient perfectly matches the navigation bar background. I wonder if there is some simple way to achieve similar behavior?…
Dmitry Sokurenko
  • 6,042
  • 4
  • 32
  • 53
0
votes
1 answer

Place image button at top right of toolbar in iPad

I can't seem to get a simple button placed in the upper right side of the iPad in the toolbar. I have the code in the viewDidLoad method. - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a…
brianhevans
  • 1,183
  • 4
  • 15
  • 28
0
votes
1 answer

UIToolbar acting super weird while adding items

This is my problem. I have 4 different UIToolbars in my application. And I have 5 BarButton items allocated and initialized. (all are properties and they are all alloc init 'ed in the beginning). I add all five bar buttons in 4 separate NSArrays…
Legolas
  • 12,145
  • 12
  • 79
  • 132
0
votes
3 answers

How to make a UIActivityIndicatorView in a UIToolbar tappable

I'm using this code to insert an UIActivityIndicatorView to my toolbar -(void)addActivityIndicatorToToolbar { UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)]; …
murze
  • 4,015
  • 8
  • 43
  • 70
0
votes
2 answers

App crashes when clicking banner button item

I have a rotating banner at the bottom of my app displaying advertisments, when the user clicks on a rotation a viewcontroller with a simple webview and a toolbar on at the top is display showing a webpage specific to the banner. this all works fine…
user987723
  • 945
  • 3
  • 12
  • 33
0
votes
1 answer

iOS Keyboard with Toolbar and UISegmentedControl

I'm having a problem with a Segmented Control in a Toolbar on my Keyboard in my current iOS App. I'm trying to basically have a keyboard with a Toolbar that has a Segment control on the left hand side with Previous/Next options and then a Done…
Sal Aldana
  • 1,235
  • 4
  • 17
  • 39
0
votes
1 answer

how to show value on button of toolbar in objective-c?

I am doing project of bill. there are many bills that i can scroll and each bill have many items with quantity and price. At the button, there are also many buttons on toolbar. Total Price of bill is 1 button among them, and i don't know how to show…
user1584341
0
votes
2 answers

how to extend UIToolbar to other objects like safari

Im trying to achieve the effect like Safari on Mac and iPad have with tabbing, With the navigation bar and the current tab are one. How can i extent the UINavigationBar/UIToolbar to merge with a UIView subclass to look as 1? Answer: I Created my…
Maximilian Litteral
  • 3,059
  • 2
  • 31
  • 41
0
votes
1 answer

odd behavior of UIPickerView on ActionSheet

- (void) actionsheetstart { actionSheet=[[UIActionSheet alloc] initWithTitle:@"" delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil]; [actionSheet showInView:self.view]; UIToolbar *pickerToolbar =…
ytpm
  • 4,962
  • 6
  • 56
  • 113
0
votes
2 answers

UINavigationController toolbar buttons not animating when pressed

I have few UIViewControllers embeded in NavigationController, everything is cool when it comes to change screen titles, button titles, hiding/showing navigation bar (top bar) or toolbar (bottom bar), but - I cannot force toolbar buttons to have this…
raistlin
  • 4,298
  • 5
  • 32
  • 46
0
votes
1 answer

Switching views from barbuttonitem?

So I've seen previous questions similar to this but they were of no help. I've read Apple's documentation too but I could not understand where I've gone wrong. AFAIK I did everything logically, but when I click on my done button on an UItoolbar…
Andrew Laeddis
  • 135
  • 1
  • 2
  • 8
0
votes
2 answers

NavBar\Toolbar button text color?

I am using the following code to create my toolbar buttons....I would like to change the text color to black or better yet ...set the background image to color the text .....setBackgroundColor would not work....any help is appreciated,…
AhabLives
  • 1,308
  • 6
  • 22
  • 34
0
votes
1 answer

UIBarButton in toolbar for UINavigationController that is the detail view of a split VC

I have a Split VC as the entry point of my app. The detail VC is a UINavigationController, and I want to always hide the master VC so that I can only use it in popover from the toolbar. My problem is that I don't have a way to put the barButtonItem…
0
votes
1 answer

Overlay button not clickable/pressable.

I have overlaid a done button on a UIToolBar overlay. The done button appears on my toolbar but it's not clickable. In fact when I touch it shows no change. Obviously the doneButton is not receiving the action. My question is why and how do I…
Andrew Laeddis
  • 135
  • 1
  • 2
  • 8
0
votes
1 answer

Add a new UIToolbar to UIViewController

I'm developing a TabBar based application with an UIViewController witch appear when a cell is selected in the first view. I would like to add an UIToolBar with some informations (in the items) given by the segue of the selected cell. I already…