UITableView Question. How do I preselect a tableView cell?
- by dugla
I assumed that the correct way to preselect a cell in a table view was:
- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath
animated:(BOOL)animated
scrollPosition:(UITableViewScrollPosition)scrollPosition
However it does absolutely nothing. Nadda.
For context I am building an iPad app and the tableview is deployed from a Popover ViewController. So the tableView is only visible when deployed. I am currently calling the above method in:
- (void)viewDidAppear:(BOOL)animated;
Any thoughts?
Thanks,
Doug