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

Fixing UIToolbar height to 32 pixels in iPhone Landscape mode

I am building an iPhone application that works only in Landscape mode. When I add a UIToolbar to my landscape view, it gets a fixed height of 44 pixels. I expect the height to be 32 pixels instead. How do I get the height of the UIToolbar to 32…
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70
0
votes
1 answer

How to create toolbar with Activity Indicator in SplitView templete?

I am new to ipad development. In my application i want to create splitview like the below image. I made a new splitView application from XCode templet. How to create toolbar with Activity Indicator in TableViewController like a Mail.app?
AleyRobotics
  • 970
  • 1
  • 10
  • 17
0
votes
1 answer

How can I get UIToolbar to display correctly in a static tableview?

In storyboard I draged a UIToolbar onto my static tablView. For some reason, the toolbar shows up fine in the storyboard, but when I run it, the toolbar does not show up at all. I then tried to delete it so that I could drag a new one out, but the…
Scott
  • 39
  • 2
  • 11
0
votes
1 answer

How does UIBarButtonItem know which UIBarStyle the UIToolBar uses?

In Xcode ui builder when one set the UIBarStyle of the UIToolBar (such as BlackTranslucent, for example), the UIToolBarItem matches the background images to it. How does the UIToolBarItem know which style it should use? I'm trying to do a put a…
huggie
  • 17,587
  • 27
  • 82
  • 139
0
votes
1 answer

Why is the top of a black translucent UIToolbar different from a black translucent UISearchBar, and how can I make them look the same?

When I add a UIToolbar to a view in XIB, make it Black Translucent style (and not Opaque), it has a 2-pixel black stroke at the top of it. Meanwhile, a Black Translucent style, non-Opaque UISearchBar has a 1-pixel black stroke at the top. These are…
annie
  • 1,347
  • 1
  • 13
  • 25
0
votes
2 answers

NavigationController and ToolBar Issue

I have a Navigation Controller with two Views. The First View is a ViewController with a TableView and the Second View is UIView with some UILabels and a UIWebView. When selecting a cell from the TableView, the Navigation Controller pushes to the…
Nick Rivers
  • 294
  • 1
  • 6
  • 17
0
votes
2 answers

Replace or extend UIBarButtonItem selector

I'm trying to make a custom UIToolbar which handles rotation and custom arrangement. When it's in portrait mode some of the barbuttonitems will not be visible, so I add a "more" button from which pops up a little view with these items. My problem is…
Templar
  • 1,694
  • 1
  • 14
  • 32
0
votes
1 answer

UIToolBar weird display issue on IOS 5.0.1

I am looking for a solution for this weird UIToolBar issue happening on IOS 5.0.1. I have added two UIToolBars from interface builder but the toolbars do not look like the original toolbars. They displayed like a custom view. The tool bars are…
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
-1
votes
3 answers

Pause button is stopping AVAudioPlayer rather than pausing

UIToolbar has UIBarButtonItems play, pause and stop buttons. The play and stop buttons are working fine but the pause button is stopping the audio player rather than pausing audioplayer. It should pause the audio file and resume the audio file. …
user1120133
  • 3,244
  • 3
  • 48
  • 90
-1
votes
1 answer

Not displaying color and data in IOS 5

I have implemented a customized navigation bar and toolbar in Xcode 4 targeting iOS 4.3 and now am updating my xcode 4.2 targeting iOS 5. In iOS 5 the customizations are not working, but whenever I use the iOS 4.3 simulator its working fine. Thanks…
dj1
  • 1
  • 1
  • 7
-1
votes
1 answer

Swift Storyboard UITableView Static Cells - UIToolBar appears when scrolling down

Looking for some clarification on why when using a UITableView with Static Cells that when scrolling down a UIToolBar will appear and cut off content. The UIToolBar does not appear when using reusable cells and scrolling. I have tried looking around…
Lukas Bimba
  • 817
  • 14
  • 35
-1
votes
2 answers

bottom toolbar is black on iOS 15 and above

An old client asked me to make some minor updates to his app. Compiling for iOS 15 and above, the bottom toolbar is now black (after momentarily flashing the original intended color). I had the same problem with the navigation bar, and fixed that…
Casey Perkins
  • 1,853
  • 2
  • 23
  • 41
-1
votes
1 answer

UINavigation controller UIViewController and UItoolbar as a subview issue

Hey guys i am trying to leave the augmented reality and go to the next view controller of to my navigation controller the code is from ARKit demo and i just added programmatically a UIToolbar as a subview which has an action button ..I want this…
hara
  • 27
  • 3
-1
votes
2 answers

iPhone - UIToolbarButton with Text and symbol characters

How may I puy into a UIToolbarButton a custom picture characters (like the bookmark one) followed by some text ?
Oliver
  • 23,072
  • 33
  • 138
  • 230
-1
votes
2 answers

iOS toolbar barbuttonitem spacer

I am trying to add two bar buttons to toolbar in iOS [Cancel] & [Save] on right and left side accordingly. I used a third bar button [Spacer] and set it to be [.flexiblewidth] Otherwise, when adding it only the left button appears [Cancel] and the…