views:

55

answers:

0

Hello guys,

I have one detail view controller in splitView - SearchDeatilViewController. But that view controller is attached to navigation controller. How can I get that subview to take controll of him?

I tried like this, to reload sub view tableView:

SearchDetailViewController *detail1 = (SearchDetailViewController *)[self.viewControllers objectAtIndex:1];
[detail1.tableView reloadData];

But it gives me error:

-[UINavigationController reloadTable]: unrecognized selector sent to instance

It seems that the object I get in variable detail1 is of type navigationController. Obviously I need to go one level deeper. How can I do that?

Thanks