tags:

views:

8

answers:

1

Hi guys,

I need a textfield which has an dropdown list to select an option from that.Is there any possible chances to do that in Iphone sdk?

Guys I need a quick help from ur side.

Anyone's help will be much appreciated.

Thank you, Monish.

A: 

You use a UIPickerView instead of a dropdown list.

Edit: i missed the text field part. You are emulating a combo box.

You can use a picker + text field, and fill the text field from the pickerView:didSelectRow:inComponent delegat method

Edit2: There are some S/O questions about this already - related to UIPickerView bugs

sylvanaar