开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜