A problem with View disappear?

Joined
Aug 13, 2011
Messages
200
Reaction score
7
Points
18
Location
West Sussex
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.

Code:
[self navigationController pushViewController:detailViewController animated:YES];

What you should have done is this.

Code:
[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.

Regards Mark
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top