Questions tagged [uipickerview]

The UIPickerView class implements objects, called picker views, that use a spinning-wheel or slot-machine metaphor to show one or more sets of values. Appears on iOS.

UIPickerView is part of the UIKit Framework and is available in iOS 2.0 and later. The UIPickerView class implements objects, called picker views, that use a spinning-wheel or slot-machine metaphor to show one or more sets of values.

Picker views can have multiple components, each of which can select independent values.

References:

3356 questions
1
vote
1 answer

UIPicker displaying ? instead of text

I'm still new to iOS coding but am trying to get my UIPicker to display the options I want, and then be able to take the option selected and do something with it. But rather than having the picker show my options it's just showing ? marks instead…
NCoder
  • 325
  • 3
  • 10
  • 25
1
vote
1 answer

ios: UIPickerView lldb error when I try to scroll

I have a view that needs to wait until data is retrieved from a web-service then update a UI picker view. While I am waiting for the response if the user scrolls the picker view the app crashes and I get lldb error. Any reason why? Here is my…
wwjdm
  • 2,568
  • 7
  • 32
  • 61
1
vote
2 answers

Speeding up iPhone animations

I have a data entry application that has the user enter about 6 pieces of information all on different views in a navigation controller. This works fine, but once the user gets used to the application the time it takes for the next screen to appear…
Epsilon Prime
  • 4,576
  • 5
  • 31
  • 34
1
vote
4 answers

UIPickerView doesn't appear

In a ViewController call by push, I try to programmatically display a ComboBox. This combobox implement UIPickerView delegate protocol and add a .xib file. When i run the app, i can see my combobox on the screen, but when i click on it, nothing…
Nagasaki
  • 60
  • 2
  • 16
1
vote
1 answer

Monotouch Custon UIPicker get selected item

This is my picker model class using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Mobile.iOS { public class PickerDataModel : UIPickerViewModel …
Jean
  • 5,201
  • 11
  • 51
  • 87
1
vote
1 answer

-[UIPickerView setFrame:]: invalid height value 200.0 pinned to 180.0

-[UIPickerView setFrame:]: invalid height value 200.0 pinned to 180.0 i got this error in nslog. but i do not care about it . any crash is possible in future ? . my coding is pickerviewdropdown.Dropoption = [[Utility getSizeValues]…
1
vote
1 answer

How Do we recall PickView's didSelectRow after choosing a segment?

I have used a segmented control for the user to choose between two type of results after they select a row in the pickerview. However, when I choose a row in the pickerview then it shows the result of selected segment, but I select another segment…
user1949873
  • 460
  • 7
  • 17
1
vote
1 answer

UIPickerView in a popover inside a Form Sheet viewController (iPad)

I have a textfield in my form sheet. When the textfield is typed on, I want a popover to appear with a pickerView inside. I've used popOverController before, but in this case I don't have a clue on how to place a pickerView and set it's delegate and…
HusseinB
  • 1,321
  • 1
  • 17
  • 41
1
vote
1 answer

Two pickers for 2 textfield in one view

I have 2 text fields. Each has own picker view.When a user clicks on each of them, UIPickerView appears. Everything works. However, when,first, I click on the second text field, picker view for the second text field appears, and first text field…
SubMarina
  • 33
  • 4
1
vote
1 answer

is it possible to add components to UIDatepicker?

I have a uidatepicker in Time Mode I want to add a component with string value into it I think I have 2 approaches: 1.using a custom pickerview 2.adding component to uidatepicker of my Mode Time(I don't know the possibility) if it is possible to…
Nickool
  • 3,662
  • 10
  • 42
  • 72
1
vote
4 answers

Comparing uipickerdate to current date

Here is the code that I have for my two datepickers which I need to compare them to the current date with an if condition or a switch. NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init]; dateFormatter.timeZone=[NSTimeZone…
user1949873
  • 460
  • 7
  • 17
1
vote
2 answers

UITabBar keeps UIPickerView's bottom to display

I am trying to show the picker view immediately after the the viewDidLoad method get called. But, the UITabBar block some parts of picker view from displaying. How to bring the picker view to the front of the UITabBar? The pickerview is a UIView…
yong ho
  • 3,892
  • 9
  • 40
  • 81
1
vote
1 answer

Best way to display options with long text in iOS?

I am making an app where the user selects a couple of different inputs (non-actual example: car brand, miles and color). Every selection has some defined values to choose from, which are each one or two sentences long. I am wondering what the best…
Daniel Larsson
  • 6,278
  • 5
  • 44
  • 82
1
vote
3 answers

Building a custom UIPickerView

I am trying to build a custom UIPickerView replacement class mainly for learning purposes but with a view to implementing this within an application I am developing. I have put a lot of time and effort into the UI of my application and now the…
Zack Brown
  • 5,990
  • 2
  • 41
  • 54
1
vote
1 answer

"unknown" year in UIDatePicker without custom UIPickerView

I fear this has been asked, and shot down many times, but it's worth a shot... Is it possible to use create a UIDatePicker exactly the same as the birthday picker in the Contacts App, with the option of "----" for the year component, without…
Leon
  • 715
  • 1
  • 8
  • 22