简体   繁体   中英

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类的“管理选择”部分。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM