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

UIActionSheet comes up halfway

I was looking for a way to make a UIPickerView show a "Done", "Cancel" buttons. Googling around I found good posts, all of them had UIActionSheet involved. So I did that container is a UIView actionSheet is a UIActinSheet pickerView is a…
Ted
  • 3,805
  • 14
  • 56
  • 98
1
vote
1 answer

ActionSheetPickerClass , iOS

I am using this class , https://github.com/TimCinel/ActionSheetPicker to choose current date in my application. The problem is that i would also like to choose a time (hour and minutes) with a picker like this. Can anyone help me customize the class…
user1511244
  • 725
  • 3
  • 11
  • 15
1
vote
1 answer

Customizing UITableView to look like UIPickerView

Hi i am a newbie in iOS app development. I have a requirement were in i should have a Picker View that should be displayed in an iPad App. I tried to increase the UIPickerView height but it did not happen after 216 pixel height. I was wondering is…
Vivek T
  • 398
  • 6
  • 22
1
vote
3 answers

UIPicker with UITextField

I made a research and all posts here are very blury regarding this issue. I would like to use a UIPicker when pressing on a UITextField. I would realy appriciate a step by step guide. I tryd all posts here but every post gives me only a portion of…
Gal Gibli
  • 474
  • 3
  • 6
  • 16
1
vote
2 answers

How to change text color inside uipicker?

How to change the text color inside picker with various colors. For Example:
user865155
1
vote
0 answers

Change NSURL selected from UIPickerView

In my app I load "feed link" into a tableView. It works well. But now I need to change that link using a UIPickerView. In my viewDidLoad there is this code for loading feed items into tableview. The first time it works good. // Parse feedURL =…
altod
  • 11
  • 1
1
vote
2 answers

How will the view be auto scroll when we open UIPickerView?

I am opening UIPickerView on UIButton click and i am calling commit animation on UIPickerView by this UIPikerView opens like a keyboard from bottom to mid of screen i want to scroll up the view when picker view shows because of buttons by which i…
iosuser
  • 125
  • 1
  • 3
  • 10
1
vote
1 answer

How can I make a UIPickerView like a UIDatePicker?

I have a custom UIViewController subclass which acts as Datasource and Delegate for a UIPickerView which I would like to serve two different purposes, as each are simple enough, and don't really warrant separate files. One operation must be as a…
cortices
  • 373
  • 2
  • 15
1
vote
1 answer

Multiple UIPickerViews in one view with multiple textfields

I have a problem with my coding right now. I want to have two pickerviews in one view with different data in each picker. So when I click on a textfield a picker would appear with data, and when i click on another textfield the picker appears with…
Pasod
  • 13
  • 2
1
vote
0 answers

UIpickerview hidden behind actionsheet

I am new to xcode and first time at stackoverflow. I have a pickerview as subview of UIActionSheet. Pickerview is used to select $ amount for a field. On iOS >=4.2, pickerview shows on top of actionsheet as expected. However, with ios 4.0/1, the…
1
vote
2 answers

Delegate PickerView's delegate to another view

First of all, I would like to say that I'm just beginning "learning" objective-c. Sorry if I've done big mistake Im trying to delegate -(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component…
Benjamin
  • 7,055
  • 6
  • 40
  • 60
1
vote
3 answers

Very simple iPhone question. How to make UIPickerView with two columns?

I have read other questions about creating a UIPickerView with two or more columns but cannot find the exact solution. How is this done for the iPhone programmatically? How do you add static data? Thanks!
john
  • 1,189
  • 2
  • 15
  • 20
1
vote
3 answers

How to change the size of row in UIPickerView by button click?

I tried to do it in this way: call reloadAllComponents: when button is clicked but it doesnt call rowHeightForComponent:
Bogdan
  • 1,286
  • 9
  • 12
1
vote
2 answers

UIDatepicker date show monday's date only

I want to show only date which is associated with Monday in UIDatePicker, is it possible?
sachin
  • 1,015
  • 4
  • 11
  • 24
1
vote
1 answer

Getting NSDate from a UIPickerView

I have a picker view similar to the alarm clock app on the iphone (first component = 1-12, second component = 0-60, third component = am/pm). What I do is this in the didSelect delegate of the picker view. if (component == PICKER_HOURS) { …
Crystal
  • 28,460
  • 62
  • 219
  • 393
1 2 3
99
100