Reputation: 4678
I'm writing a UITabBar based iPhone application. One of the tab items is a UITableView and works perfectly. But now I'd like to add a detailed view, so I created one and tried to connect it with the TableView. But there's a problem, if I touch an item nothing happens, the selection appears but doesn't go to the details view and the selection doesn't disappear. I wrote the codes based on an example that uses app delegate and so, these are the ones I cannot adapt to my code. Thanks in advance!
Upvotes: 0
Views: 229
Reputation: 2543
Did you implement the function - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
of the UITableViewDelegate
?
** EDIT **
As said in my comments, you need to implement a UINavigationController. here is an example on how to it using interface builder :
Upvotes: 2