UITableView doesn't keep row selected upon return

后端 未结 7 965
独厮守ぢ
独厮守ぢ 2020-12-17 21:05

i have several table views in my app. I am familiar with the usual behaviour of tables, that when you select a row and progress to a pushed view, it turnes blue, then when y

相关标签:
7条回答
  • 2020-12-17 21:45

    The following code does works Good

       -(void)viewWillAppear:(BOOL)animated{
             [super viewWillAppear:YES];
             [self setClearsSelectionOnViewWillAppear:NO ];
        }
    
    0 讨论(0)
提交回复
热议问题