iPhone SDK Tutorial: UIPickerView

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,412
Loading...
Alert icon
Sign in or sign up now!
Alert icon
  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (XcodeDev)

  • How do you get it to display other text when you select something in the picker?

  • @yourgeekneeds

    if ([ArrayName objectAtIndex:[PickerViewName selectedRowInComponent:0]] == @"Row Name")

    Just repeat that and put the code of whatever you want the selected row to do in between the if statements.

  • where did you learn all these codes? im new to this stuff could you give me some advice? i know understand it takes a lot of patience but where should i start??

  • @xSAVAGEx650 Books, Google, Developer Forums, and YouTube.

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • How can I find an item in the UIPickerview

    [pickerType selectRow:1 inComponent:0 animated:NO];

    This code will find the 2nd item. I want to find an item in the UIPickerView by name rather than position

  • @XcodeDev I apologize but I am pretty new to this. What should it exactly look like for this tutorial?

  • excellent tutorial. good job

    

  • Good Video! thanks

    p.s. can i have the code ?? 

  • lol, i found the issue :) thanks anyway for reading :)

  • Hi mate, very good tutorial. Just a question: I followed all the steps, no errors detected at all. However, when i build and run, instead of the list of names on the picker, i get a question mark, but the names are displayed on the label field... any suggestions mate? Cheers :)

  • hi , is there any source code thanks!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more