Questions tagged [pickerview]
72 questions
1
vote
1 answer
how to add a column to pre-exisiting pickerview
I need a multiple component pickerview, but I need to add a new column to the far left of it. So far it only has two of the three I need. Here is the current code. I have addeded arrays, wrapped an array inside an array, added variables as a column…

mrpotter
- 17
- 1
- 8
1
vote
0 answers
Can't scroll through picker view
This is my code for the picker view:
func numberOfComponents(in pickerView: UIPickerView) -> Int {
return 1
}
func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
return…

Stefan Walzer-Goldfeld
- 67
- 11
1
vote
0 answers
removing Blure text in pickerview ios swift
i have used multiple picker view ,
but it will displayed text blur which will be in following image.
how can i remove blur effect from picker view.enter image description here

Khushbu Desai
- 1,003
- 1
- 10
- 32
0
votes
1 answer
Trying to use coreData with a pickerview
I'm new in ios developpement and I'm trying to load a pickerView with elements from coreData in an Xcode Project. My code works normaly with an array of defined elements of type String, but not with the array I get with a coreData request. I don't…

Damix
- 3
- 1
0
votes
0 answers
How to get TimeZone by selecting it's Identifiers in swiftUI
I am new to Swift.. I am implementing Timezones identifiers in my pickerView. It's almost done but I want to get Abbreviations and related data when I select particular PickerView, But I am unable to do so
Please help me out if somebody know.
func…

shanimKashmiri
- 51
- 5
0
votes
1 answer
Xcode Picker View is jumping to another value instead of the selected one
I'm using Xcode Version 13.1
I use UIPickerView, but when I choose value its jump to another one, I have 10 items [item 0 ... item 9]
when I choose item 1 the value jumps to 6, how can I solve it?
Here I'm choosing "Item 1" but Xcode choose and…

RonDavid
- 13
- 3
0
votes
0 answers
UILabel value is not changing based on the pickerView selection
I want to choose and display the correct dataset from Firebase, based on the pickerView selection.
The main problem - the values of the UILabels are not changing.
The second thing I would like to note, that the pickerView does not disappear after I…

Ivy
- 1
0
votes
1 answer
sectioned pickerview chooses all rows in sections with same index
I am trying to create a PickerView which has sections
each item conforms to "id" and I am tagging the Text with the item's id (which is unique and I verified that there are no clashes)
The PickerView seems to disregard the tags I am assigning and…

Avba
- 14,822
- 20
- 92
- 192
0
votes
0 answers
Turn off preview in PickerView - SwiftUI
I have a form appearing in one of my views and inside the form I have a picker view, I do not want the preview to appear on the right hand side (as shown by the picture, in red). How would I make this disappear? I'm sure there is a modifier, but I…

benpomeroy9
- 375
- 5
- 21
0
votes
2 answers
I need to populate a picker
I'm new programming in Swift, and what I need is a pickerView (done programmatically) that is populated with Json Data. I succeeded populating the picker with the name of the object, but I need to select the name and catch the id of the object that…

Joe So
- 7
- 2
0
votes
0 answers
Picker views are synchronizing all text boxes
I have an issue involving picker views in XCode. When I run the simulation and choose an option in the picker view, the text pops up in both text boxes (classOne and classThree in my code) controlling all (2 currently, will add more later) which…

AppDev
- 1
- 1
0
votes
0 answers
Picker View Row 1 text color issue - Swift
I have been spending too much time on this. I would greatly appreciate your help.
I have a picker view in my iOS app page and I have the following code to change the color of the text of the selected row. However, for some reasons, the row #1 reacts…

Gilbert Tyler
- 57
- 7
0
votes
0 answers
How to add multiple data items to a picker view in Swift for Xcode 11.5
How to add around 3500 items in the picker view or some easy drop down list kind of elements from the data provided in the csv file and also map them with individual values corresponding to that data. Any automation or easy technique to do so in…
0
votes
1 answer
PickerView in TableViewCell works but not Update
i made a simple apps for practice. I'm a beginner in programming.
First of all I will explained in detail what I did and what I want to do.
Create a File a Swift file for data :
class done {
var meal: [String] =…

Martin
- 13
- 3
0
votes
0 answers
objective c repeating array items in picker view
I have one UIPickerview. I have a json response. I have a three text fields. If user select the first text field display picker view then user select the particular item. And second and third text field also same.
My requirement is if user select…

iphone
- 21
- 3