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.
Asked
Active
Viewed 393 times
0
-
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 Answers
1
-
Yes, But now how I implement this drop down code into my project ? – islahulislam.ca Jun 15 '12 at 05:16
-
write your mail id i shell send you a sample. you will just import TableVC class and use it in your navigation controller(of project) – ilhnctn Jun 15 '12 at 05:18
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.
j2emanue
- 56,631
- 57
- 264
- 415