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 ArticleHow 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 ArticleSwiftUI: 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 ArticleFormatting 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 ArticleHow 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 ArticleCustomized 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 ArticleSwiftUI 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 Articlehow 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 ArticleUIPickerView 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 ArticleUIPickerView automatic dimensions
For dynamic row heights in UITableView Swift hasUITableViewAutomaticDimensionIs there an equivalent for UIPickerView
View ArticleIOS 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 ArticleHow 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 ArticleCan 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 ArticleHow 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 ArticleHow 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 ArticleRemoving 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 ArticlePicker 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 Articlechange 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 ArticleHow 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 ArticleSwift 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