uitableview 默认选中第一行

- (void)viewDidLoad {   
  [super viewDidLoad];     NSIndexPath *ip=[NSIndexPath indexPathForRow:0 inSection:0];    
 [myTableView selectRowAtIndexPath:ip animated:YES scrollPosition:UITableViewScrollPositionBottom]; 
}
原文地址:https://www.cnblogs.com/luyinghuai/p/2026871.html