NSIndexPath *indexpath=[NSIndexPath indexPathForRow:1 inSection:0];
[tableView selectRowAtIndexPath:indexpath animated:YES scrollPosition:UITableViewScrollPositionBottom];
[self tableView:tableView didSelectRowAtIndexPath:indexpath];
tableView 默认选中某一行
最新推荐文章于 2023-11-28 14:40:22 发布