Search code examples
iphoneuipickerview

One UIPickerView with multiple textfields


Can I use one UIPickerView with many UITextFields, or should I create many pickerviews, one for each UITextField (I have all the UITextFields in the same view)?


Solution

  • I think one Picker view with multiple textfields would be enough. You can easily tag the textfields and process them according to your needs.

    Multiple sources for UIPickerView on textfield editing

    http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/12952-tutorial-uipickerview-basics-basic-tip-calculator.html

    Will help you get started