//tableview设置默认行应放在reloaddata后
[self.tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]animated:YES scrollPosition:UITableViewScrollPositionNone];
//tableview设置默认行应放在reloaddata后
[self.tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]animated:YES scrollPosition:UITableViewScrollPositionNone];
本文标题:iOS tableview 设置默认选中行
本文链接:https://www.haomeiwen.com/subject/wsarjctx.html
网友评论