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

How to enabled button after user select value from UIPickerView?

I have created a new contact form I have 3 first name, Lastname, email country and create button, I enable the create button after firstname,Lastname and email when they are not empty. the county text...

View Article


Image may be NSFW.
Clik here to view.

Change the color of the lines in UIPickerView with Swift

Basically I just want to change the color of the seperator lines: I think for obj-c there is an answer here: link. But I have difficulties to translate it in Swift. How to do that?

View Article


Determining which UIPicker's toolbar button sent a message

I am trying to use multiple UIPickers on a page. I think I've configured almost everything. When I use a UIPicker I add in a a tool bar with a "Cancel" and a "Done" Button. The toolbars are built using...

View Article

Saving a value outside of a .observeSingleEvent [duplicate]

I am learning Swift/Firebase as I try to make a app, but the last two days have been tough as I constantly have trouble accessing values outside of brackets.I am trying to configure a UIPickerView and...

View Article

Image may be NSFW.
Clik here to view.

UIPIckerViews working together in one UIView

looked at the other similar questions but have not found the answers there. Sorted out some of the issues I had but still have the issue where the data from the first pickerView determines what...

View Article


Image may be NSFW.
Clik here to view.

Correct work with UIPickerVIew with two numbers components

I want to choose in the first component number five (for example) and want the second component are automatically displayed digit +1 from the selected digit in the first component (i.e. six), and to a...

View Article

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 Article

Image may be NSFW.
Clik here to view.

How to make such kind of UIPickerView? [closed]

How can I do PickerView as in the picture? Thanks

View Article


How to use Multiple UIPickerViews in same View controller using UITextFields

I am trying to have multiple picker views in one single view in Objective-C. So far I have created 3 different textfields and I want three of them to have different picker views if I click on them. so...

View Article


UIPickerView with multiple components crashes app

I have a UIPickerView with 2 components. 1st component is for districts and 2nd components is for cities. When I'm spinning both at once I'm getting an Index out of range and app crashes. I'm loading...

View Article

Image may be NSFW.
Clik here to view.

Making Horizontal UIPickerView

I am trying to make a Horizontal UIPickerView. But i have som issues with the width. As you can se in the top of the image aboveI want the width of the PickerView to be = view.frame.size.width, but for...

View Article

Getting a picker to always show the first element of my array when user...

I am building an app that asks the user to select a number that represents scoring from 0 to 6. I give the user the seven options via a picker view. This actions need to be repeated several times until...

View Article

Image may be NSFW.
Clik here to view.

Dynamic PickerView with multiple components: Index out of range

I have a PickerView with 3 components based on this code. The two picker to the right change their content based on the previous selection to the left. Unfortunately the app crashes when I change a...

View Article


UIPickerView height constraint animation jumps

I'm animating the height constraint of an UIPickerView.The View jumps to a small height still showing 1 row and then animates till height 0.UIView.animate(withDuration: 0.5, animations: {...

View Article

Picker Text color in DarkMode

How do set the text in a Picker control to a light color for iOS13 darkmodeTo support DARKMODE on IOS13 you need to set the text color to a colour that the system can change. But on the inspector,...

View Article


multiple pickerview didSelectRow error in Swift

I have 2 pickerviews, 1 pickerview is to select a crypto-currency from an Array and the other pickerview is used to select a currency from an array. The problem I am having is when I run the app on...

View Article

How to change picker inputView when click different textField?

I have some textField and set a picker be their inputView. It works fine when I tap a textField, then tap another view to close the picker. The issue is when I tap a textField, then tap another...

View Article


what is the best way to populate a picker view with JSON data in swift?

i am building a COVID-19 app tracker on IOS. In order to display the data by country, I have built a pickerView that will contain all the country names.thanks to an HTTP cal, I have managed to get the...

View Article

Populating a UIPIckerView with remote JSON array

I am downloading a JSON Array from a remote server:var colores = [Colores]()func downloadJSONColores(completed: @escaping () -> ()) { let url = URL(string: "https://../colores.php")...

View Article

Poblar Picker View desde Firestore

tengo un proyecto en swift 4, dentro un campo de texto que quiero que llame a un picker view el cual debe mostrar datos desde firestore, pero no logro hacerlo...Enumerando:1.- Abrir un picker view...

View Article
Browsing all 594 articles
Browse latest View live


Latest Images

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