In UISplitViewController rootView/masterView to tell detailView to push a viewcontroller ?
Posted
by arash13
on Stack Overflow
See other posts from Stack Overflow
or by arash13
Published on 2010-05-12T00:32:57Z
Indexed on
2010/05/12
6:04 UTC
Read the original article
Hit count: 399
This is almost a follow up of my last question. Now i have a splitview with a rootview / leftview that has a table and detailview / rightView that has some view controller pushed into it's navigationcontroller.
So this is what i want to achieve: When i tap on a tablerow on my rootView , i want my detail view to push a viewController associated with that row... any ideas ?
I also tried making a protocol on my tableviewcontroller and have it implemented in detailview controller .. but i dont know how to call it, is it [self performselector:.... ?
case 1:{switch ([indexPath row]) {
case 0:{[_detailViewController.navigationController pushViewController:_s2d animated:YES];
// just trying to push it from here but didnt work
}break;
case 1:{
[_detailViewController loadEqViewController];
// this one is an instance method in detailview it is being called but nothing happends
}break;
}}break;
© Stack Overflow or respective owner