I can’t seem to push a UITableViewController onto a UIViewController using the following code:
[self.navigationController pushViewController:cardsViewController animated:YES];
The following code works for modally presenting the same view:
[self presentModalViewController:cardsViewController animated:YES];
Does anyone know what I might be doing wrong here?
Thanks in advance.
Ricky.
Ricky,
Try this code:
It will display “I am nil” in the console.