iPhone UITableView cells stay selected

前端 未结 7 1193
[愿得一人]
[愿得一人] 2020-12-28 11:50

in my UITableView sometimes cells stay selected after touching. Because it happens only occasionally, I\'m not able to reproduce the problem.

Any hints? Maybe it has

相关标签:
7条回答
  • 2020-12-28 12:57

    One possible cause is overriding -viewWillAppear:animated: without calling [super viewWillAppear] in a controller that extends UITableViewController. Adding [super viewWillAppear:animated] at the beginning of your -viewWillAppear method may rectify the problem.

    0 讨论(0)
提交回复
热议问题