I Have an UITableView with textfields in each row.
I want to access these textfields each in a different way like adding a picker view for one textfield, navigating to another view when clicked on one text field.
i know how to do it when these textfields are in a normalview but i never have done it before on tableview.
Please help.
Your question is where to put the code to handle user interaction with your table view cells. Well the proper place to do that is the
didSelectRowAtIndexPath:method of your table view controller.However, there are a few caveats.
UITextFieldDelegateprotocol to your table view controller.UITextFieldswith tags, as suggested in other answers.cellForRowAtIndexPath:that is not creating new cells.UITextFieldwhen you want another controller to pop up. In this case, just use aUILabelor the providedtextLabelproperty ofUITableViewCell. Push another controller when the user selects the row.UITextFieldif you want the keyboard to pop up without leaving the table view.