I have a view controller with table view that contains 8 cells(sections).I have created a textField and added that text field as a subview to 6 cells,remaining 2 cells of wh
I found out the solution to the question here
Thanks every one who viewed the question.
Did you try scrolling the tableview? I
If you have added this code inside if( cell == nil )
, then it may not create all the text fields, as the table cells are reused. Better you have different cell identifiers for all the 8 cells. That would solve your problem.