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
2 answers

Creating multiple UIPickerViews for textfields without putting them in accessory view in IOS

How to create multiple UIPickerViews in IOS without using UITextfields input accessoryView as the UIPickerView.
1
vote
2 answers

Initialize UIPickerView

I want to create a UIPickerView with the easiest way possible, because all of what I know Is not enough to help me Ok what I ment is that I am trying to get a UISegmented that will end up creating a UIPickerView but I want to create a UIPickerView…
Jab
  • 26,853
  • 21
  • 75
  • 114
1
vote
2 answers

iphone - how to send a sms message at a scheduled time

I am creating an application where user can send an SMS to the Recipient, and it is working fine. But I want to send Message at a scheduled time. For this I have two picker views, from one picker sender we can set date and from other sender can set…
Anand Gautam
  • 2,541
  • 3
  • 34
  • 70
1
vote
3 answers

Add fixed UILabel in UIPickerView

I saw a this question and answer and I tried a few options but non worked. I would like to create a UIPickerView like the one below, (fixed labels inches and feet) but those wouldn't appear: I create the UIImagePicker like this: -…
Dejell
  • 13,947
  • 40
  • 146
  • 229
1
vote
0 answers

App Crashes with this code on iPhone 4, but works fine on iPhone 4S & 5

So I have a group of friends testing my app, and the one person on an iPhone 4 says that the app crashes when he presses the "Go" button attached to my PickerView. A bit of background: A user selects values in the PickerView, and then presses "Go".…
Brittany L
  • 131
  • 1
  • 13
1
vote
4 answers

Showing UIPickerview selected value

I have a UIPickerView which displays the array of items. When i select an item, it can be passed to all my view controller. Now my problem is after moving to different view controllers and returned back to the UIPIckerView it shows the first array…
Sabarish
  • 1,184
  • 3
  • 14
  • 35
1
vote
3 answers

UIPickerViews not showing

I have two UIPickerView's which have different contents though when I run the app they are not showing which is really weird as they are definitely on the xib file, I also have a date-picker in the same file which does show which is really weird. I…
Hive7
  • 3,599
  • 2
  • 22
  • 38
1
vote
1 answer

UIPickerView won't move on scrollview

I have a UIScrollView that has a UIView as a subview. This UIView contains a UIPickerView. The UIPickerView does not move when I try to scroll. Reading other posts it seems that having a picker view on top of a scroll view is a problem. I'm confused…
user1802143
  • 14,662
  • 17
  • 46
  • 55
1
vote
2 answers

Black inside the pickerview

It is all black in the UIPickerView. I do not know what is happening. I do not have warnings and errors and when I try to bring up the picker view it just shows black. Did I do something wrong and is there a possibility that I have forgoten…
Shouri
  • 39
  • 6
1
vote
2 answers

Getting 3 warnings when using PickerView

When I use this code I get three warning at the implementation saying that incomplete implementation,Method pageViewController:viewControllerAfterViewController in protocool not implemented, Method…
AppleDevram
  • 67
  • 1
  • 12
1
vote
1 answer

UIPickerView set selected

I have a uipickerview that you can select items that have been set into an array but I am struggling to work out how to set the text of a uilabel to the selected option. Here is the code that I am using to create the uipicker delegate and…
Ollie
  • 207
  • 4
  • 13
1
vote
3 answers

Can we enable looping of rows in a UIPickerView as we do it in UIDatePicker?

I am developing an App where i am struck with the looping of rows in a UIPickerView. Can anyone please help me? it would be of great help if anyone would post the solution. I want the rows in a UIPickerView scroll continuosly in a circular manner…
Pradeep Reddy Kypa
  • 3,992
  • 7
  • 57
  • 75
1
vote
4 answers

How do I animate my subviews on adding them?

I have developed a font selection that utilizes UIPickerView and UIToolbar, which are both added on touching a UIButton. But they just kind of pop in which looks sloppy. is there a way to animate them? here is the method that adds them (it's called…
Exothug
  • 339
  • 4
  • 18
1
vote
1 answer

iPhone UIPickerView, insert a space between two components?

I have been building a UIPickerView with 2 components(wheels) and was wondering if there is a way to space them out a bit, horizontally? I haven't been able to find anything in either definition or documentation. Hope someone knows how to solve…
RickiG
  • 11,380
  • 13
  • 81
  • 120
1
vote
1 answer

How do I change the action of a button with UIPickerView

I am trying to change where a button leads to depending on the selected row of a picker view. I am trying to display data depending on a certain year and I can make the picker display the available years and change a label to the corresponding year,…