Questions tagged [pickerview]
72 questions
0
votes
0 answers
PickerView into a collection view Cell not displayed swift
I have a problem with an UIPickerView into a CollectionViewCell.
The Picker has the viewController as delegate and datasource, but the object instance is into the redefinition of the CollectionViewCell.
The view controller is UIPickerViewDelegate…

Stefano Miceli
- 263
- 1
- 4
- 17
0
votes
1 answer
How to get the very first value from PickerView when it first pop up / when user not yet start any access
I try to use this method selectedRow(inComponent: 0), yet it doesn't work for me. Any way out to get the first/default value from picker when it is not active?
func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) ->…

EK Chhuon
- 1,105
- 9
- 15
0
votes
0 answers
PickerView - Headerlabels
I am trying to create a pickerView with fixed labels for each component in the pickerView.
I found this piece of code in StackOverflow.
var labelTexts = ["Months", "Weeks", "Days", "Hours", "Minutes"]
let labelWidth = itemPicker.frame.width /…

Glatteisen
- 163
- 1
- 3
- 11
0
votes
1 answer
Creating the Mint Pie Picker View
Would anyone be able to provide some direction on how the Mint (the financial app, https://www.mint.com/) Pie Picker View was created, using Swift 3?
I would want to use it for a color picker for my app, so all the pie pieces would be the same size…

Harmon023
- 1
- 2
0
votes
1 answer
Swift PickerView with custom tableViewCell.xib
I am messing around with swift and i am stuck in creating an UIPickerView connection with a custom TableViewCell.xib. The functionality i want is the following: when i press the switch button a pickerView appears that lets me select a month which…

andino
- 13
- 5
0
votes
1 answer
How to multiply number from a pickerview in swift
I checked on the internet but couldn't find the answer to my question. Sorry if it is somewhere that I didn't find.
SO I have a picker view with names and each name has a value. I would like to add these value in another calculation.
Here is the…

John
- 1
- 3
0
votes
1 answer
Swift - Cannot make PickerView Library to Work
I am trying to integrate this library in my project
https://github.com/filipealva/PickerView
As instructed, I added a UIView in the interface builder and created the @IBOutlet connection to the view.
Here is the code from my controller
import…

Ibrahim Azhar Armar
- 25,288
- 35
- 131
- 207
-1
votes
1 answer
How to show Nested JSON values into the pickerview in Swift UI?
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 also want to show the selection of the city and the selection of the district in Text.
struct…

Ozan
- 39
- 7
-2
votes
1 answer
TextField in UIPickerView
I need your help. I'm using a textField to open a pickerView (and I did it successfully). But what I really need to do is put a textfield on the pickerview (or any place) and make it a SearchTextField. Is it possible?
This is my code so far:
class…

Stephy Samaniego
- 242
- 1
- 3
- 15
-2
votes
2 answers
How can i navigate to another page using picker view
i'm using here switch condition to navigate to another page using picker view and i already mentioned it in my controller but it's just navigate to one of the pages when i press on the second choice in picker view it takes me to the same page of the…

Abdelrahman Yousef
- 17
- 2
-2
votes
1 answer
country picker swift 4
I would like implement a native iOS country picker in swift 4.
Currently I have a table which contain the countries code:
var countriesCodes = NSLocale.isoCountryCodes as [String]
I implement the delegate, and I have a problem in the data source.…

clementb49
- 1
- 2
- 5
-4
votes
1 answer
kotlin android pickerView
I am a beginner of Kotlin in Android and would like to create an pickerViewer (as below image) in Android Kotlin.
I found https://github.com/Bigkoo/Android-PickerView on the web, but I don't know how to use it because the code is Java.
I am asking…

GPH
- 1,111
- 6
- 29
- 49