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

前端 未结 2 1750
野性不改
野性不改 2021-02-11 03:24

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 04:08

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

提交回复
热议问题