我正在使用一个NSObject
名为的类作为我的类MyClass
中我的 tableView 的数据源和委托。当在 MasterView DetailViewController DetailViewController MyClass`中选择一个单元格时,它没有继承 NavigationController?UIViewController
MasterView
it pushes another ViewController called
. How do I push
from
我失败的尝试:
//This will push the view but I cant return afterward.
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[appDelegate.navigationController pushViewController:detailViewController animated:YES];
//This just does nothing
masterView = [[MasterViewController alloc] init];
[masterView.navigationController pushViewController:detailViewController animated:YES];