What is equivalent to C # combo box dropdown on iOS?

I am writing an application using Objective-C for iPhone.

In this application, when entering a new entry, the user must be able to search (for example, status, gender, type of telephone, etc.). In C #, I usually use a combo dropdown or something like that to accomplish this task. What is equivalent in Objective-C? Can someone show me an example application?

+3
source share
6 answers

Take a look at UIPickerView. It uses a spinning wheel to show a set of values ​​that can be selected by the user. You need to create an object that uses the UIPickerViewDelegate protocol to handle responses to what the user selects, and an object that uses the UIPickerViewDataSource protocol to populate the selection view.

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPickerView_Class/Reference/UIPickerView.html

UIPickerView Image

+5
source

UIPickerView is almost the same as a combo box, except without a drop-down list

0
source

I found one sample DropDown function on an iPhone with a table view. Please follow the link below.

https://github.com/floriankrueger/iOS-Examples--UITableView-Combo-Box

0
source

There is an iOS combobox api that can help you add a combobox component to your application. Check it out here: http://www.chupamobile.com/products/details/365/ZComboBox/

0
source

All Articles