As well know, in the “Drill In” application, the the selected table cell can be highlighted and drill in the detail view. When comes back from the detail view with “back” button touched, the selected table cell could be highlighted or not. Such as in the Apple’s sample codes: CoreDataBooks.app and TheElements.app. I notice this phenomenon but don’t know the reason. Yes, it’s my question, how to control this phenomenon.
Share
add this line of code in ViewDidLoad method of the masterViewController..
PS: Ensure that your masterViewController is a UITableViewController Subclass.