Quantcast
Channel: Active questions tagged uipickerview - Stack Overflow
Browsing all 592 articles
Browse latest View live
↧

Swapping through UITextFields constraint issue

I have an EditProfileViewController, with a tableview and textfields. In one of the textfields I have a pickerView as inputView and a toolBar in the inputAccessoryView. When the view loads and I select...

View Article


How to set color and text/font size of picker text?

I use a specific picker setup to mimic the action of a drop down list in Xamarin.iOS. The code is: public void ConfigureSelectPicker(UITextField pickerTextField, List<string> theData) {...

View Article


Image may be NSFW.
Clik here to view.

SwiftUI: Setting Picker line height

For large fonts, the lines in a Picker are overlapping. How do I change the Picker's line height? (Hint: the .lineSpacing modifier doesn't do it.)See AlsoThis question is similar to that of Ejaaz, but...

View Article

Image may be NSFW.
Clik here to view.

Formatting picker titles and columns in groups

I cannot find a way to create a picker where the components are grouped and aligned with titles. My picker needs to allow multiple types of information to be selected, some of it is composite numbers...

View Article

How do I get a list of countries in Swift ios?

I've already seen two similar questions to mine, but the answers for those questions do not work for me. I have an old project with a list of countries manually typed out inside a set of square...

View Article


Customized UIPickerView and components

How can I create a multi select picker? I've a list of items and I want them to show in a picker with the option to multi select them, with checkmarks.I've seen this while using an app, can somebody...

View Article

Image may be NSFW.
Clik here to view.

SwiftUI Alert with Picker

I'm trying to create a SwiftUI alert dialog that contains a picker view inside of it, similar to the example here https://github.com/zhiyao92/PickerView-on-AlertController.This is the code I've built...

View Article

how to have "hour", "minute", "second" text behind UIPickView

I'm making an app with a countdown timer feature.I want to show UIPickView like this.enter image description hereAnd this is my app enter image description hereI tried using UIDatePicker but it doesn't...

View Article


UIPickerView won't scroll on a custom UIView

I've got a custom class that conforms to UIView. It contains a UIPickerView and UIButton. I'm using the following code:class ColorPickerView: UIView { // MARK: - Subviews private lazy var colorPicker:...

View Article


UIPickerView automatic dimensions

For dynamic row heights in UITableView Swift hasUITableViewAutomaticDimensionIs there an equivalent for UIPickerView

View Article

IOS UIPicker view and UIDatePicker are crashing in latest update everytime,...

Since Xcode updated to 15.0.1, UIicker and UIDatePiPcker both are crashing in app everywhere even with default picker.They are also crashing in third party like stripe and all only error is related to...

View Article

How to show selected JSON values into the pickerview in Swift?

I have a 2 texview and 2 pickerview.I want user to select the city and district of that city. When I select the city I want to list the districts of that city in the pickerview. I don't use city model....

View Article

Image may be NSFW.
Clik here to view.

Can I make an InputView in light mode transparent, like in dark mode?

I'm using a UIPickerView as InputView and in dark mode it has transparency (low alpha?), but in light mode it's just plain grey. Is it possible to make the background transparent in light mode as...

View Article


How to show selected JSON data in the pickerview?

I have a 2 textviews and 2 pickerviews. I want the user to select the city and district of that city. When I select the city I want to list the districts of that city in the pickerview. I don't use...

View Article

How would I set up a UIPickerView? [closed]

I am setting up a UIPickerView to have choices like choice a, choice b, choice c and so on. I have tried to interpret the sample code from Apple but that seems very difficult to understand for a...

View Article


Image may be NSFW.
Clik here to view.

Removing UIPickerView Blue Highlight

For some time now I've been trying to remove the blue highlight in UIPickerView when you're using the pickerView:viewForRow:forComponent:reusingView: delegate.I'm sure many here have been there and...

View Article

Picker selection mismatch with decoded Json river data

I am building a swift application and am trying to have a selection of options in a menu picker for different rivers. Currently, the issue I am having is that when selecting a different river for the...

View Article


change UIPicker height programmatically

I would like to modify the height of UIPicker programmatically, I tried to do this but on the simulator the height remains as it was before, I don't see any changes.@objc open func showPicker(title:...

View Article

How can I save several UISwitches and thus display different arrays of a...

I am in the process of programming a small app to calculate exposure times.I have a UiViewController to set the apertures of one Stop, halfStop and thridStop via three UiSwitches.If you set one...

View Article

Image may be NSFW.
Clik here to view.

Swift Picker Containing A View Not Showing The Color component

So I want to have a dropdown containing different categories and each category should have a color, the string value of the category should be binded to my viewmodel.category.This is what I...

View Article
Browsing all 592 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>