uitoolbar Questions

1

I was wondering if there is a way to make a persistent toolbar in SwiftUI? I have found some examples of people making toolbars have dynamic elements, but I haven't found a good solution for a tool...
Backpack asked 15/3, 2023 at 17:18

1

I have a toolbar , I'd like to skip the title button when accessibility is turned on. I can skip accessibility for the whole tool bar using accessibilityElementsHidden. but I just want to skip the ...

3

I'm working with an app using a UISplitViewController as the window's root. I would like both the master and the detail view controllers to be a UITableViewController inside of a UINavigationContro...
Tremor asked 13/10, 2014 at 18:31

39

Solved

I created a toolbar in IB with several buttons. I would like to be able to hide/show one of the buttons depending on the state of the data in the main window. UIBarButtonItem doesn't have a hidde...
Copenhaver asked 5/4, 2012 at 2:4

4

Solved

I have a UIToolbar with UIBarButtonItems on it. I want to add segmented control to it. //Add UIToolbar toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 425, 320, 35)]; toolbar.barStyle =...
Lynwoodlynx asked 9/6, 2013 at 14:41

7

Solved

I have an app that's been around since iOS 8. the way it's working is that you have a UITableView and tap on cells to produce a score, depending on the score the UItoolbar at the bottom changes col...
Hade asked 23/8, 2016 at 17:10

2

I am using init(title:image:primaryAction:menu:) of a UIBarButtonItem Apple Documentation on a Toolbar with the hope of showing a button with both image and title. Does anyone know why the title do...
Asquint asked 6/11, 2020 at 13:27

2

I'm creating a UIToolbar with UIBarButtonItem in it programatically. I'm not using .xib or storyboard for this ViewController. Here's the code of how I created it. NSMutableArray *items = [[NSMut...

5

Solved

I am putting a label on a UIToolbar (per this tip: Adding a UILabel to a UIToolbar). But the toolbar has a button on the left side, and so flexible spaces throw the label off the center, which is ...
Polystyrene asked 24/3, 2010 at 20:26

4

Solved

Expected Output: I want to change the ToolBar color to Dark Black. Actual Output: ToolBar is light Grey color. Here is the code: let webViewController = SFSafariViewController(URL: url, entersR...
Palimpsest asked 11/2, 2016 at 7:4

8

Solved

I have tried the swift example of JSQMessageViewController inside iOS 11 simulator. Here is the result:screenshot I have tried using safe area margin and modify the toolbar constraint but there is...
Pilpul asked 27/9, 2017 at 5:17

10

Solved

I am using a toolbar in the inputAccessoryView property of a textView. When the keyboard shows, it displays the toolbar as expected. When the device is rotated I want to remove the toolbar. I tried...
Nicko asked 24/9, 2012 at 20:45

9

Solved

I have created a UIToolBar programmatically and added a UITextField on it. Now, I need that toolbar to be above the keyboard when I click in another text field. UIToolbar *toolBar=[[UIToolbar all...
Miksen asked 28/5, 2014 at 7:5

7

Solved

Can't seem to find a tutorial which does as the question title describes. I'd like to understand just where the UIToolbar needs to be declared and how to get it onto my view layer.
Planish asked 10/10, 2011 at 11:18

3

Is there a way to highlight (i.e., toggle) a UIBarButtonItem without using a custom view? For example, see 3D button from the Maps app: or Shuffle All from the Music app:
Southwestward asked 6/1, 2014 at 23:39

10

I want to hide a toolbar and nav bar as I scroll down a page. And return it as I scroll up. How is this possible? How would I go about detecting the drag? Do I use pan gesture or is this down with...
Archimage asked 18/11, 2016 at 1:30

1

Solved

I've table view below which I've text view. I'm adding a tool bar above keyboard to show Done button. When I tap on a button in a row to delete the row it shows LayoutConstraints issue as shown bel...
Leavy asked 18/6, 2020 at 16:40

8

Solved

I have a UIToolbar that has a white tint, with a bar button item, followed by some flexible space, followed by another bar button item. I would like to make the toolbar completely clear so that I c...
Gearwheel asked 21/8, 2012 at 15:24

3

Solved

I was getting a lot of layout constraint errors so I created a new project and simply have a UIToolbar and a UITextField to try and troubleshoot the problem. Even with a clean project, I still get ...

24

Solved

I'd love to create a "back" left-arrow-bezel button in a UIToolbar. As far as I can tell, the only way to get one of these is to leave UINavigationController at default settings and it uses one fo...
Pickerel asked 22/10, 2008 at 18:45

6

Solved

In iOS 11 buttons and text field are unresponsive being subviews of UIToolBar. Comparing view hierarchy to iOS 10 we see there is a _UIToolBarContentView over all subview of UIToolBar. For instanc...
Carousal asked 8/9, 2017 at 2:13

2

I set UIBarButtonItem via UIToolBar to the titleView of navigationItem on iOS13. After building and running, the UIBarButtonItem was not displayed as expected. // note UIBarButtonItem *noteButton...
Blemish asked 29/8, 2019 at 13:19

8

I have a UIActionSheet containing a picker and a UIToolbar. On the UIToolBar there is a save button. However, some of my users reported pressing the save button before the UIPickerView stops spinni...
Duplicator asked 30/1, 2011 at 2:42

7

Solved

I'm trying to set the background color of a UIToolBar. I tried selecting the color from IB's Attribute Inspector, and tried setting it programmatically through setBackgroundColor:[UIColor ...]. Bo...
Intine asked 16/10, 2013 at 10:51

3

When pushing a view controller my toolbar buttons fade out and then in again with the new view. The problem is that i have the same buttons in the next view as the previous so it looks like the but...

© 2022 - 2024 — McMap. All rights reserved.