美文网首页
tableview主动选取某行

tableview主动选取某行

作者: 梦在旅途 | 来源:发表于2016-08-06 14:44 被阅读18次
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:i inSection:1];
[self.tableView selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionBottom];
[self tableView:self.tableView didSelectRowAtIndexPath:indexPath];

相关文章

网友评论

      本文标题:tableview主动选取某行

      本文链接:https://www.haomeiwen.com/subject/bxvksttx.html