标签:uitableviewcell uitableview
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
NSInteger selectedIndex=0;
NSIndexPath *seletedIndexPath=[NSIndexPath indexPathForRow:selectedIndex inSection:0];
[tableView selectRowAtIndexPath:seletedIndexPath animated:YES scrollPosition:UITableViewScrollPositionNone];
}
标签:uitableviewcell uitableview
原文地址:http://blog.csdn.net/xiaoyao_li/article/details/44260495