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

Can't have a UIViewPicker well laid for iphone 4 & 5

I have one storyboard file for iPhone devices, and in one of the views there is a subview that contains a UIPickerView, and, when it runs on the iPhone 4 the UIPickerView is stuck at the bottom of the view as it should be, but when it comes to the…
1
vote
4 answers

How to make my own UIPickerView?

Since UIPickerView can't be customized to the level I want (without taking a risk by hiding specific subviews), I need to roll my own to select a time. I figure I can do this using two UITableViews, but I'm unsure of how to do 2 things: 1) How do I…
bmueller
  • 2,681
  • 1
  • 27
  • 45
1
vote
3 answers

Make the third visible row the only one selectable

I'm developing an iOS app with latest SDK. I have an UITableView with a lot of rows but I only show five rows. In other words, the user only can see five rows. He/she can scrolls the table, but only five rows are visible. I want to make selectable…
VansFannel
  • 45,055
  • 107
  • 359
  • 626
1
vote
1 answer

iOS picker control with multi-line items

I need to present a list of items to the user, allowing them to select one of the items. I've tried the UIPickerView, but its rather limited in that it displays a single line of text for each item. I need to display additional text for each item…
Nerdtron
  • 1,486
  • 19
  • 32
1
vote
1 answer

multiple uitextfields in one view with different input (keyboard/picker)

I have a form-like view in my application which contains 8 textfields. Two of them are to be filled in by pickers, and the rest by normal heyboard typing. When picker-row is selected or when return button is pressed, the corresponding text should be…
fekioh
  • 894
  • 2
  • 9
  • 22
1
vote
1 answer

Data from array is not showing up in the pickerView

I am trying to do Single-Component Picker example Beginning iOS 6 Development Book, almost every thing works fine but Data from array is not showing up in the pickerView Please Help Here is my .h file
Happy
  • 169
  • 1
  • 4
  • 10
1
vote
2 answers

Stuck with UIActionSheetPicker , iOS

This is going to be a very targeted question , as its for people that have actually used the UIActionSheetPicker before. I used it in my iphone applications and everything worked great , but now that i tried to implement it on my ipad i experienced…
user1498477
1
vote
3 answers

How to cretae five UIPickerView with tag? And how to give different name to every UIPickerView, in iPhone?

I have 2 UIPickerView right now and I want to add three more later.The code is below: -(void)viewDidLoad{ Pos_x = 5; Pos_y = 70; for (i= 0; i<2; i++) { myPickerView = [[UIPickerView alloc] init]; myPickerView.frame =…
Afreen Khan
  • 175
  • 1
  • 4
  • 12
1
vote
1 answer

Making an app that uses a PickerView to drop pins

Me and a group of friends are creating an iPhone app for a project in our technology class. Our app is going to be used for navigation to different high school sporting event locations in our area. We are currently using a PickerView to control…
1
vote
2 answers

How to get data in UIPickerView from Webservices

I am new to Iphone and I am working on a application where I have to use UIPickerView. I am able to populate the UIPickerView statically, but now I have to get data from WEBSERVICES and populate them into Picker View. Can you please tell me the…
anjali
  • 77
  • 1
  • 9
1
vote
3 answers

uipickerview selection on tableviewcell detailtextlabel

As I wrote in the title, I am trying to write down the value selected on a pickerview (populated by an array) to the detailTextLabel of the cell I clicked to bring up the pickerview. (The pickerview is shown in an actionSheet). What I tried to do…
Juan Andres
  • 433
  • 7
  • 19
1
vote
0 answers

UIActionSheet with UIPickerView showing nothing iPad

I have a UIPickerview inside a ActionSheet dateSheet that gets the demographic of the user. Here is my code. UIPickerView *picker=[[UIPickerView alloc] initWithFrame:CGRectMake(0,125,320,216)]; picker.tag = 1; picker.delegate=self; …
BigT
  • 1,413
  • 5
  • 24
  • 52
1
vote
1 answer

How to tell what row is in view in UIPickerView

The UIPickerView class has a method selectedRowInComponent that returns the selected row for the component. That may or may not be the item that is in the center of the picker view. What I'd like is to be able to tell what index of the pickerView…
Victor Engel
  • 2,037
  • 2
  • 25
  • 46
1
vote
1 answer

iOS 6 Custom UIPicker

I designed a custom UIPicker for my iOS app and now i don't know how to implement it. I am new to iOS and i thought the Picker would be customizable but i think i was wrong. Here is an image of it: It's very minimalistic and simple so i think there…
Drazen
  • 2,776
  • 1
  • 25
  • 39
1
vote
2 answers

UITableView with data from NSMutableArray returns empty

I want to fill the content of a TableView according to selections made in a PickerView view. The code I have so far is: - (IBAction)findOwnerButtonPressed:(id)sender { findShip.hidden = NO; shipOwners.hidden = NO; boatsTableView.hidden…
Oscar Apeland
  • 6,422
  • 7
  • 44
  • 92