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

How to dynamically size UITableView in Objective-C?

I'm just starting with iOS development and I was trying to achieve something that doesn't seem to work so far for me... Here's the situation: I have a nib file in which I have placed a UITableView, and just underneath a UIToolbar. That works just…
dirkvranckaert
  • 1,364
  • 1
  • 17
  • 30
0
votes
1 answer

Position UIBarbuttonItem to the VERY left

I have a UIBarButtonItem that I want hugging the very left of the screen. I've tried putting a fixed barbutton with width=0 before the button and other configurations but there's always several pixels between the button and x=0. I've also tried…
Andrew Park
  • 1,489
  • 1
  • 17
  • 26
0
votes
1 answer

UIToolbar not showing

I want a UIToolbar to show up when I click on a certain UITextField, but the toolbar, defined in the @interface, doesn't show up. This is my code for initializing and attaching it to the text field: toolbar = [[UIToolbar…
Jeeter
  • 5,887
  • 6
  • 44
  • 67
0
votes
1 answer

Adding subviews on a UITableView

I'm working on a project were I use mostly UITableViews. The user enters data and the App gives the result of a calculation. I have two buttons: "Calculate" and "Reset". I want to add a subview containing these two buttons and have them displayed at…
Marcal
  • 1,371
  • 5
  • 19
  • 37
0
votes
2 answers

Custom UIToolbar, what will Apple allow?

I'm looking to convert my standard UIToolbar (Opaque black with text based buttons), to something a little more graphical. Probably something like the following (taken from a Blackberry app): Would this go against the human interface guidelines?…
PaulG
  • 6,920
  • 12
  • 54
  • 98
0
votes
1 answer

iOS, how to make a custom uibarbuttonitem with no-border, no-span with each other? like this picture?

iOS, how to make a custom uibarbuttonitem with no-border, no-span with each other? like this picture? I do not know how to name this style. all these buttons are on the UIToolBar component. thank you very much.
meadlai
  • 895
  • 1
  • 9
  • 22
0
votes
1 answer

UIBarButtonItem Disappears After Hiding UIToolbar and Reappears after UIActionsSheet appears

I have a UIToolbar that is shown on the current top UIWindow. Before I am showing a certain UIViewController (in push) I am hiding the UIToolbar by removing it from the window. When I get back I'm trying to reshow the UIToolbar by adding it back to…
Lupos
  • 31
  • 4
0
votes
2 answers

Resized UIToolbar refuses to keep its UIBarButtonItem aligned correctly

I have a UIToolbar at the top of my view, and it needs to be resized in an animation. The toolbar contains: A UIBarButtonItem using system item UIBarButtonSystemItemAdd (the '+' button) A UIBarButtonItem using a custom view (the title) A…
Ben Packard
  • 26,102
  • 25
  • 102
  • 183
0
votes
1 answer

Dark Black & Opaque UIToolbar

I am trying to create a UIToolbar which is dark black (real black as opposed to UIToolbar's "black"), that is slightly transparent or opaque. Below is a screenshot of the exact colour/opacity that I want it to be. Its the black overlay on top of the…
darksky
  • 20,411
  • 61
  • 165
  • 254
0
votes
2 answers

iOS - Unhighlight UIBarButtons in a UITableViewCell?

I have a UIToolbar containing 2 UIBArButton items. The toolbar is inside a UITableViewCell, and it fades in when the user selects a cell. The problem is that when the cell get's highlighted, it calls highlight on the barButtonItems as well, and they…
aryaxt
  • 76,198
  • 92
  • 293
  • 442
0
votes
1 answer

toolbar hide/unhide issue in master view of uisplitiview on ios 6.0, portrait mode

A strange problem only occurs on iOS 6.0. In iPad portrait mode of an app based on UISplitViewController, The master view is navigation controller based. The first view controller of the master view has toolbar buttons showed, if I push a second…
0
votes
1 answer

UIToolBar loading incorrectly

After changing some of the build settings to release the app, I found that the UIToolbar now doesn't load correctly. I'm pretty sure it isn't a problem with the code, but instead an Xcode setting that I changed by accident - can anyone help? Here…
Tim Windsor Brown
  • 4,069
  • 5
  • 25
  • 33
0
votes
1 answer

How to update a bar button item in a toolbar

I have a single playback controller in my app on the navigation bar and is easily found in its implementation file. So I've tried to add a toolbar and move the playback controls to that toolbar, but I don't know how to reference it programmatically…
0
votes
0 answers

iPad device UIToolbar bug which doesn't exist on simulator

When running the a universal app in the iPad simulator, the UIWebview shown below works great: However when I run it on an iPad, the UI looks as follows: This UIToolbar issue previously was an issue on both the device and simulator, but after I…
Tim Windsor Brown
  • 4,069
  • 5
  • 25
  • 33
0
votes
2 answers

iOS UIToolbar recognizes touch

I made a vertical (in looks) toolbar programmatically. Using initWithFrame I set the width and height of the toolbar and sent it to extreme right. Now I added a bar button item to the toolbar and set an action for it. But when I click anywhere on…
neeraj
  • 1,191
  • 4
  • 19
  • 47