How can I set a row selected by default? I want to select a row , take the number of selected row with indexpath.row
and then reload the table and select the ro
This will do it:
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:row inSection:section];
[tableView selectRowAtIndexPath:indexPath animated:NO scrollPosition: UITableViewScrollPositionNone];
Where row is the cell number you want to select (starts 0...), and section is the section where the cell appears.