//隐藏
self.tableView.showsVerticalScrollIndicator = NO;
//修改颜色
self.tableView.indicatorStyle=UIScrollViewIndicatorStyleWhite;
//选中0组0行
NSIndexPath *selectedIndexPath = [NSIndexPath indexPathForRow:0 inSection:0];
[self.tableView selectRowAtIndexPath:selectedIndexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
时间: 2024-10-10 06:04:45