views:

48

answers:

1

hi guys I would like to select a cell in a tableview, except with code before any user interaction.

Is this at all possible, a quick search through the sdk notes doesnt yield anything. Where should I look?

Regards

+2  A: 

UITableView class, "Managing Selections" section.

- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UITableViewScrollPosition)scrollPosition
Vladimir