0

I need to create one drop down list contains some Languages. By selecting any language of this list, it should list out corresponding language details, for example, if I select English, then it will list English songs. All details are coming from a url.

Ankur
  • 5,048
  • 19
  • 36
  • 62
  • possible duplicate of [How to create dropdown box?](http://stackoverflow.com/questions/5988097/how-to-create-dropdown-box) – Monolo Jul 14 '12 at 13:32

4 Answers4

1

I think you need Accordion view, take a look at this question and also this sample will give the right idea.

Community
  • 1
  • 1
ilhnctn
  • 2,202
  • 3
  • 22
  • 41
0

You can use apop-over for this. In the pop-over, create a tableview to display various options.

Peter DeWeese
  • 17,853
  • 8
  • 77
  • 100
Nuzhat Zari
  • 3,388
  • 2
  • 22
  • 36
0

Use a UIPickerView for the drop down list.

Peter DeWeese
  • 17,853
  • 8
  • 77
  • 100
Rajneesh071
  • 30,084
  • 13
  • 60
  • 74
0

The action sheet is basically a drop down list if you think about it. And if you keep adding buttons to a UIActionSheet it ends up turning into a table. So just have your button call a UIActionSheet.

Try adding 7 or more buttons to the UIActionSheet and watch it turn into a list. Its convenient.

enter image description here

j2emanue
  • 56,631
  • 57
  • 264
  • 415