I have a UITableview with standard UITableViewCells. On selecting a cell, I would like to replace that cell with a custom cell with UITextViews instead of the detailTextLabel and UITextFields instead of the accessoryView. What would be the best way to go about implementing this?
I have a UITableview with standard UITableViewCells . On selecting a cell, I would
Share
Create a subclass of
UITableViewCell. Add in yourUITextFieldorUITextField(whichever is appropriate for your solution) to thecontentView, and make them hidden. Override the `-setSelected:animated:’ method: