In iOS Application when some link pressed, I am calling a view from my current RootViewController like:
SubViewController *view = [[SubViewController alloc] initWithItem:itemID];
[[self navigationController] pushViewController: view animated: YES];
But for some reason view is not getting called and instead I get animation effect on top of navigation bar but view itself stay the same.
What could be the problem? What should I change to make it work?
I think You have gone wrong with the code.You are not Loading the view