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

Fixed labels in the selection bar of a UIPickerView

In the clocks application, the timer screen shows a picker (probably a UIPicker in UIDatePickerModeCountDownTimer mode) with some text in the selection bar ("hours" and "mins" in this case).(edit) Note...

View Article


Show UIPickerView text field is selected, then hide after selected

I am trying to create a text box that when it is selected a UIPickerView opens up with choices to select from. Once selected, the UIPickerView hides and the selected item is displayed in the text box....

View Article


UIPickerview as inputview to uitextfield in swift shows Keyboard for working...

Did anybody noticed uitextfield- pickerview behaves differently with .ipa installation for an existing working code.I am new to IOS development. I have working code with more than 20 view controllers....

View Article

How 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 Article

Can I make an array of arrays?

Im trying to create an array inside an array inside an array. Then use a UIPickerView with 3 components, each for the respective array. The reason I used arrays is because the data is organized like...

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

is there a uipickerview delegate method like scrollviewDidScroll?

I have a customized UIPickerview and I do not want to use a datepicker. I want to implement the feature where when a user scrolls down/up the hours, the AM/PM component switches while the hour is...

View Article

Image may be NSFW.
Clik here to view.

How to make UIPickerView.viewForRow highlighted in the center , the reset row...

How to make it more nicely?Like the following image: the center row is highlighted, the rest row gray.Here is code:extension ViewController: UIPickerViewDelegate{ func pickerView(_ pickerView:...

View Article


Image may be NSFW.
Clik here to view.

Change color of selectedRow in UIPickerView, also when rolling

I have to change the color of the selected row in a UIPickerView.I did managed to change the color, i know that the question already have several replies, anyway those do not satisfy me: with those...

View Article


Image may be NSFW.
Clik here to view.

How to Scroll to Specific Row in UIPickerView In iOS Swift 3

I have a UIPickerView with values 0...250. There is 2 Components in UIPickerView. In First component i am displaying these values. but i want to detect scrolling method of the UIPickerView. because...

View Article

UIPickerView selection input Swift 4 or 5

I have a UIPickerView that selects from an array of states and the last item in the array is “outside the US”. When the last item in the array is selected I want to show another input option for...

View Article

Pass data back to UIPickerView

I'm creating timer app and I want user be able to edit existing timers. For, example, when User click on specific timer, he can edit hours, minutes and seconds, which I get initially from...

View Article

UIPicker selectRow not working - what's wrong with this code?

I'm trying to set a default value for the UIPickerView. However, no matter which value I set it to, it always defaults to 1. The method below loads the picker just fine, and I can select it. So, what...

View Article


How to make multi column picker in xamarin forms?

I need to create a picker which have 2 columns in xamarin forms like timepicker. I am using Picker control. Is there any way through which we can make multiple columns in Picker?

View Article

Image may be NSFW.
Clik here to view.

Why are unrelated autolayout constraints changing when I am adding a...

When I add my picker view of images to the view, it changes the autolayout constraints of other objects that are not constrained in any way to the picker view.Before adding the picker view: After...

View Article


Image may be NSFW.
Clik here to view.

What is an Alternative to the UIPickerView from IOS in android?

I am trying to reproduce the IOS UIPickerView functionality but in android.In IOS you can set this UIPickerView as an input type of the keyboard. I need this same type of interaction but in...

View Article

How to have in xamarin.ios the pickers look-a-like xamarin forms?

I have a project that is running natively with xamarin.ios, but the problem is that I need the selector to work as if it were a widget that uses xamarin forms(see the image below), I mean a text box...

View Article


Passing updated array data to uipickerview

Still pretty new to swift, I was having some trouble passing updated data into the pickerview. I'm receiving the "index out of range" error. I have a suspicion that the uipickerview is seeing the empty...

View Article

Image may be NSFW.
Clik here to view.

I see only ?-s when using 2 pickerviews in Swift on the same view controller,...

I have been trying to figure out this problem for hours, now I have only one small problem remaining:I use 2 UI pickers on one view controller, and when I try to select one (aka I'm clicking into the...

View Article

iOS 13 UIPrinter quickly goes out of existence

User selects a printer (UIPrinter) using the UIPrinterPickerController. Once selected, that UIPrinter is used for output (print(to:) throughout the app and persists for subsequent launches of the app....

View Article
Browsing all 592 articles
Browse latest View live


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