Questions tagged [uipicker]

DO NOT USE. Please use the [tag:UIPickerView] tag

DO NOT USE. Please use the tag for all questions related to showing a spinning-wheel or slot-machine user interface on iOS.

142 questions
0
votes
1 answer

UIPicker and Text and URL

I'm trying to build an app that will display stats for a certain game (I'd rather not say which one). I have most of the app completed, but I have run into a problem with my "Players" page, which is the primary view that loads after viewDidLoad.…
user1053827
0
votes
1 answer

Uipicker crash when spinning 2 components simultaneuosly

The below code creates a crash if i spin 2 components at the same time as occasionally depending which arrays are selected, the values will be out of bounds i need some condition checking which will stop the crash but dont know what how can anyone…
superllanboy
  • 607
  • 2
  • 6
  • 18
0
votes
2 answers

UIPickerView UIButton in viewForRow doesn't respond

Button doesn't respond in viewForRow: UIView * rowView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 44)] autorelease]; UIButton* deleteButton = [[[UIButton alloc]init]autorelease]; deleteButton.frame = CGRectMake(200, 10,…
UnRewa
  • 2,462
  • 2
  • 29
  • 31
0
votes
1 answer

UIPicker crashing

My UIPicker is crashing if the NSArray of objects is greater than 3, with the following error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSAutoreleasePool pickerView:titleForRow:forComponent:]: unrecognized…
Leon
  • 715
  • 1
  • 8
  • 22
0
votes
3 answers

UIAlert to popup after the UIPicker is closed

I have a UIPicker that triggers a UIAlert when a row is selected. I'm trying to have the alert popup after the UIPicker "done" button is pressed and the UIPicker is closed. At the moment the alert triggers when the row is selected. So, as someone…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146
0
votes
1 answer

Need help displaying a UIImage based off selection of UIPicker

- (void)viewDidLoad { [super ViewDidLoad]; [brandTextField addTarget:self action:@selector(showImageFromFilter) forControlEvents:UIControlEventAllEvents]; } - (void)showImageFromFilter { if (brandTextField.text == @"Awake")…
Luke Irvin
  • 1,179
  • 1
  • 20
  • 39
0
votes
1 answer

Hide Picker View Hide Left Swift

I am trying to hide left up and down arrow. Is there any way to hide left arrow in picker view Code:- let picker = UIPickerView() picker.tag = tag picker.delegate = self picker.dataSource = self txtField.inputView = picker
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
0
votes
1 answer

Uipicker componet split to minimise scrolling with large data set

I have the following code to read data from my .plist for use in a UIPicker. This all works fine, but now I want to split my picker as the data in the componet wheel is getting too big meaning too much scrolling. The componet 0 of the picker has…
superllanboy
  • 607
  • 2
  • 6
  • 18
0
votes
1 answer

UIPicker accessing items from a plist

I have a plist that is being loaded into a UIPickerView. I can access the array info and have it loaded into the picker in one of the components. What I'm trying to do is to access Item 0 or Item 1 and have them displayed on a UILabel based on a…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146
0
votes
2 answers

update a uipicker

I have two columns, in the uipicker. When I select something from the first column, I want the options to change on the other column. Source code anyone? Thanks a bunch
Mineeee
  • 1
  • 1
0
votes
1 answer

Country picker in swift like clubhouse

I’m wondering is there any easiest way for me to implement country picker like clubhouse with image as well? i've research about some libraries on the GitHub, but can't find good one. do i have to make custom UIPickerView for each of them with…
Doyeon
  • 7
  • 7
0
votes
1 answer

Popup UIPicker when tapping on UITextField

I need to display/show a Picker when a user taps on a textfield, I mean, it should appear a picker instead of a keyboard. Also, some sort of "done" button above the picker so the user clicks on it and the value from the picker is copied to the…
Enyel
  • 3
  • 3
0
votes
2 answers

From plist to UIPickerView

I have a plist that I want to get the contents of in a uipickerview. I'm able to output the contents of the plist in the console using: // Path to the plist (in the application bundle) NSString *path = [[NSBundle mainBundle]…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146
0
votes
1 answer

NSArray setup and concept for datasource for uipicker

i need some help with nsarrays and uipicker i have a table of data consisting of columns a,b,c,d and rows m1,m2,m3,m4 each cell in the table has 2 values an upper and lower limit so cell m3,b has the values 20 and 25 for example sorry if this is…
superllanboy
  • 607
  • 2
  • 6
  • 18
0
votes
1 answer

Displaying the contents of a CSV file in a UIPicker

I was wondering what the best way of displaying the contents of a CSV file in a UIPicker would be. The idea is that a person picks a date range in a UIPicker and then gets a UIAlert popup based on their selection. I know there are probably a few…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146