haxpanel
haxpanel

Reputation: 4678

iPhone UITabBar based app + UITableView with details view

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

Answers (1)

Niko
Niko

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 :

http://www.cimgf.com/2009/06/25/uitabbarcontroller-with-uinavigationcontroller-using-interface-builder/

Upvotes: 2

Related Questions