I can’t seem to find a way to clear a TTTableViewController’s selected cell after returning from the previous view. Anyone got any advice?
I can’t seem to find a way to clear a TTTableViewController’s selected cell after
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
TTTableViewController is a subclass of UIViewController so you can use the
@property(nonatomic) BOOL clearsSelectionOnViewWillAppearproperty and set is toTRUEIf this does not work you can always deselect the row with
where self.tableView is your TableView. Putting this line in your
viewWillAppearshould work.