Why can't I call reloadData AND deselectRowAtIndexPath in viewWillAppear:animated at the same time?

前端 未结 2 1456
夕颜
夕颜 2021-02-11 03:53

I have a UITableView with cells that push viewControllers onto the stack when selected. The child viewControllers take user input and then pops off the stack.

When the c

2条回答
  •  别那么骄傲
    2021-02-11 03:55

    When the user taps the row the first time to load the editable view controller deselect the UITableViewCell before loading the editable ViewController.

提交回复
热议问题