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,086
  • 19
  • 37
  • 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,210
  • 3
  • 23
  • 41
0

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

Peter DeWeese
  • 18,141
  • 8
  • 79
  • 101
Nuzhat Zari
  • 3,398
  • 2
  • 24
  • 36
0

Use a UIPickerView for the drop down list.

Peter DeWeese
  • 18,141
  • 8
  • 79
  • 101
Rajneesh071
  • 30,846
  • 15
  • 61
  • 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
  • 60,549
  • 65
  • 286
  • 456