tags:

views:

37

answers:

1

I hope to display one row of UITableView with property

cell.accessoryType= UITableViewCellAccessoryDisclosureIndicator; 

if user touches/selects the row, it will display an UITextField for user to edit the text of this row.

Is it possible?

+1  A: 

UITableViewCellAccessoryDisclosureIndicator shows a chevron on the table row, this indicates that another view will be activated, so isn't appropriate for an editable row.

The cell has an accessory control shaped like a regular chevron. It is intended as a disclosure indicator. The control doesn't track touches.

What you might want to do instead is set the accessoryView on your UITableViewCell to a UITextField.

Cannonade