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 build a 'panel' in iPhone dev (with picture)?

I need a toolbar like "panel" that could contain text fields and buttons, just like a toolbar you can define its width and height and its position. And you can put the elements you want into the "toolbar". Like the following: alt text…
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
0
votes
1 answer

how can i show only picker and hid the keyboard ???

I'm trying to show only the picker and hide the keyboard but it's working only with the first textfield. I got a textfield that I made and when I click on the first textfield the picker popups but when I click on the other textfield the keyboard…
user2110381
  • 11
  • 1
  • 4
0
votes
1 answer

Show a ViewController when button pressed, while a tabBar is also present

I have a simple app that uses a UITabBar controller for navigation. Let's say I have ViewA and ViewB on the tabBar. Everything works fine. However I also want to add a UIButton to ViewA that will present the user with ViewB when pressed. In other…
SNV7
  • 2,563
  • 5
  • 25
  • 37
0
votes
1 answer

Multiple bars at top in iPad Screen

I want to know can we create 2 bars at top like in this screen shot. one top bar with multiple buttons and search bar and second one with the back button.
0
votes
1 answer

iphone IOS Anyway to get Added Control in ToolBar to come to front

This is a bit of a hack, but trying to get a badge on a toolbaritem. Almost there, but it appears in the back, tried normal methods to get to front with no luck. deletedCountBadge = [CustomBadge customBadgeWithString:@"0"]; deletedCountBadge.frame…
ort11
  • 3,359
  • 4
  • 36
  • 69
0
votes
1 answer

How do I remove the gradient from UIToolbar in iPad?

I am using UIToolbar in iPad App,How can I remove the gradient background from it? Below is my Code. aToolbar.barStyle = UIBarStyleBlackTranslucent; aToolbar.tintColor = [UIColor blackColor]; toolbar.alpha = 1.0;
user2185887
0
votes
2 answers

UIToolbar doesn't get smaller in landscape

In my main view, I add a normal UIToolbar to the bottom of the frame, in landscape it doesn't get smaller? Is this because i dont supply landscape images or am i missing something else? All of the other toolbars in the UINavigationController's all…
0
votes
3 answers

Xcode UIToolbar Autoresize

I have an iPhone application that runs perfectly on the iPhone 4s but when run on an iPhone 5 some parts of the screen doesn't autoresize. The thing that isn't resizing is the UIToolbar. My application always runs in Landscape mode, so the toolbar…
James Brown
  • 919
  • 3
  • 13
  • 22
0
votes
1 answer

touchesMoved don't work for UIBarButtonItem

I want to create sliding UIToolbar by touching the UIBarButtonItem on it and moving. I read some topics, and found that I must implement touchesMoved. But where? Only place that I found it's UIButton which I located in UIBarButtonItem. This is…
skyylex
  • 855
  • 1
  • 10
  • 24
0
votes
1 answer

iOS: How do I keep the UIToolbar (that I've added to UIWebView.scrollView) from going off screen?

Hopefully i can explain this clearly. I have a UIWebView and I've added a UIToolbar to it's scrollView (another works [webView.scrollView addSubview:myToolbar];). So everything is fine and dandy until i try to pinch zoom that's when the toolbar…
0
votes
1 answer

Adding UIBarButtonItem's to a UIToolbar

I need to add buttons to the UIToolbar of a UINavigationController, which is also my root. I want the UIToolbar to appear when a specific UIViewController is shown. Therefore, I placed this code in my viewDidLoad method of my UIViewController…
Luca Carlon
  • 9,546
  • 13
  • 59
  • 91
0
votes
1 answer

UISegmentedControl buttons stop working

My iOS app has a form with about a dozen fields and I wanted to add "Previous"/"Next" buttons above the keyboard to help users move between fields. I have something like this: for (UITextField *t in _textfields) { t.delegate = self; …
SaltyNuts
  • 5,068
  • 8
  • 48
  • 80
0
votes
1 answer

UIToolbarPosition set to bottom on resize

I have a UIToolBar at the top of one of my views and the shadowing shows up on the bottom of the tool bar as I'd expect. I know UIToolbarPosition is internally set to UIToolbarPositionTop. When I rotate my device (iPad), the tool bar grows (using…
DBD
  • 23,075
  • 12
  • 60
  • 84
0
votes
2 answers

How to create ipad PopUpOver?

I need to create a PopUpOver for the iPad .I need to create PopUpOver just like below images. Actually I am confuse what will be called this PopUpOver and what are the class available to draw these types of PopUpOver for the ipad. please let me know…
Christien
  • 1,213
  • 4
  • 18
  • 32
0
votes
2 answers

UIToolbar with abnormally fat UISegmentedControl

I've never added a segmented control to a bottom toolbar without Interface Builder. I added the same segmented control to the navigation control toolbar without this issue. What am I doing wrong? Thank you. //enable…
Pouria Almassi
  • 1,580
  • 2
  • 17
  • 26