iphone sdk - select a cell in a tableview, with code
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
UITableView class, "Managing Selections" section.
- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(UITableViewScrollPosition)scrollPosition
精彩评论