NSIndexPath *indexpath=[NSIndexPath indexPathForRow:1 inSection:0];
[tableView selectRowAtIndexPath:indexpath animated:YES scrollPosition:UITableViewScrollPositionBottom];
[self tableView:tableView didSelectRowAtIndexPath:indexpath];
tableView 默认选中某一行
最新推荐文章于 2024-06-30 08:30:00 发布