04-06-2012, 06:04 PM
When asking a question about coding problem in a project, you have to be more specific, a
project is made up of dozens of files, alll linked in various ways.
So you have to specifiy where the problem occurs, and in what part of the project.
So I will have a guess.
Your syntax is wrong in the linked example, you have done this.
[self navigationController pushViewController:detailViewController animated:YES];
What you should have done is this.
[self navigationController] pushViewController:detailViewController animated:YES];
Can you spot the small but important difference.
Yes , you did not nest your messages to the navigation controller, so check your syntax
carefully, it's usually the problem.
Hope this helps.