Why is -didDeselectRowAtIndexPath not being called?

后端 未结 10 1757
梦如初夏
梦如初夏 2020-11-29 05:38

I created a fresh project (Xcode 4, Master-Detail application) just to see if I\'m doing something wrong, but I still have the same problem. I want to call -reloadData

10条回答
  •  情歌与酒
    2020-11-29 06:31

    I think it's just simple mistake! Why don't you use following:

    [self.tableView deselectRowAtIndexPath:indexPath animated:YES];
    

    Instead of using just "tableView" in that line?
    I guess, and pretty sure that above line would give you the solution!
    hope this helped you, if you looked back at your old question!!!
    Kudos! :)

提交回复
热议问题