ios7 new pan gesture to go back in navigation stack does not clear tableview selection

落花浮王杯 提交于 2019-12-05 02:37:05
YuliaSh.

This answer did help me: https://stackoverflow.com/questions/897071/iphone-uitableview-cells-stay-selected

- (void) viewWillAppear:(BOOL)animated {
    [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:animated];
    [super viewWillAppear:animated];
}

At least for the cases we were seeing this happen, it seems to be fixed in iOS 7.0.4. (We've actually noticed that a number of glitches with the back gesture have been fixed during the 7.0.x releases.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!