How can I display a certain message/alert after the user chooses certain...
I'm trying to display a message when the user chooses 2 values from a double component picker.In case the user’s choice was "High Fever" and "Strong Cough", use an Alert View to display a message...
View ArticleHow to change UIPickerView's selected tint color in iOS 14?
One of iOS 14's changes included changing the UIPickerView to have a light gray selected row tint color. I was wondering if there is any way to change this or even access this property. I looked in the...
View ArticleShow a UIPickerView when a button is tapped
I want to open a UIPickerView on the click of this button. I had created this button and now when the user clicks on it I want to open a UIPickerView. I have seen many tutorials on the Internet but all...
View ArticleGet currently selected value of UIPickerView
I have been googling how to get the currently selected value in UIPickerView, but everywhere it's mentioned using row:0 and so on. I have a UIPickerView populated with string values like "One","Two",...
View ArticleUIPicker With Toolbar Done Button Alway Selects Last Row When Done Is Clicked
I have a custom UIPicker which has a toolbar with a done button at the top. For some reason, the didSelectRow is called every time done is clicked (even if done has no actions)I will post my full...
View ArticleHow to make a UIDatePicker appear at bottom of screen?
I currently use MonoTouch with MonoTouch.Dialog. When tapping on a date field it pushes the navigationcontroller so you go right a screen to see your UIDatePicker where you choose the date then go...
View Articlehow can I put particular action as I select any row of UIPickerView?
I am writing code like - (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component { int n=row+1; if(row == 0) return [NSString...
View ArticleExpand UiPickerView only whet it tapped in Swift
I'm using pickerView in my project and i wanna make it so it will expand only when user taps on it. Than reduce after few second. How can i do it?import UIKitclass guideMode :UIViewController,...
View ArticleSet Different Sizes for UIPickerView Rows
Is it possible to set a different size for each row in a UIPickerView or do they all need to have the same height?This is what I've tried, but it returns the same height for all rows: public func...
View ArticleSet default value of UIPickerView when UITextField is touched
I want to keep the same placeholder text in my UITextField which is "Location". Once the UITextField is touched then I want the first value of the UIPickerView to be displayed. The way it is now the...
View ArticleSet Different Sizes for UIPickerView Rows
Is it possible to set a different size for each row in a UIPickerView or do they all need to have the same height?This is what I've tried, but it returns the same height for all rows: public func...
View ArticleSwiftUI picker with no title
I'm trying to add a simple picker functionality by SwiftUI. Essentially the outcome I'm looking for is something like this:When clicking on the arrow, it should take user to a new view where they...
View ArticleHow to change color of selected row in UIPickerView
Ok, maybe I'm missing something really simple and I apologize if that's the case, however, I've googled every permutation of the title and have not found! So this is simply what I want to do: change...
View ArticleHow to change UIPickerView title text color based on position
I want to set an UIPickerView so that the title of the row that is selected (in the center) is blue, and the two rows above and below have text color black, and the others color gray..so it will look...
View ArticleUIPickerView Not Reloading with the Latest JSON Data
Essentially I would like the following UIPickerView to display the latest the options provided by the JSON from the URL - It seems that reinstalling the app grabs the latest data but afterwards its the...
View ArticleIs UITextField+UIPickerView supported under Mac Catalyst?
In my iOS app I have a textfield with a picker view assigned to it's inputView. On iOS devices the picker view pops up whenever the user taps the textfield. The same code does not do that, however,...
View ArticleHow to disable the view while using UIPickerView
I have been using UIPickerView, my question is simple, how to disable the view when picker view is showing, so that we can ensure user are not changing anything in view. I have tried with...
View ArticleSource type 1 not available
I have an app for iPhone and iPad, and when I try to load an UIPickerViewController in a UIPopoverController for iPad I get the Exception "Source type 1 not available".getting the problem even though...
View ArticlePickerView with different class in one TableViewController (Swift) [closed]
I would like to put in my TableViewController, 3 PickerView but each with a different class. All in one view. Do you know how to do it? Thanks!!
View ArticleHow to disable replace, insert drawing, look up, learn, speak, speak.., pause...
I have a uitextfield inside of a uipickerview and I'm trying to disable any sort of formatting, I've used the UIResponderStandardEditActions to disable all the actions that come along with that but I...
View Article