Created
August 6, 2015 09:32
-
-
Save KyonLi/dcbc397e817270f9e87b to your computer and use it in GitHub Desktop.
UITableViewCell remain highlighted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewWillAppear:(BOOL)animated | |
{ | |
[super viewWillAppear:animated]; | |
if (self.tableView.indexPathForSelectedRow) { | |
[self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:animated]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment