Hey,
I'm creating a UINavigationController based app. And in the first view i have a UITableViewController.
I want to have the same behaviour that the Contacts App have. 1) User select contact 2) System show contact details 3) User selects que back button 4) System returns to the tableview, and fadeout the cell
I can only do this if i create a UIViewController, and a xib with a UITableView. And then add the following code:
- (void)viewDidAppear:(BOOL)animated{
if ([self.mytableView indexPathForSelectedRow] != nil){
[self.mytableView deselectRowAtIndexPath:[self.mytableView indexPathForSelectedRow] animated:YES];
}
}
I really don't want to have a xib only for this. So is it possible to do it in with a UITableViewController?