Quote:
Originally Posted by ae262
Hi guys,
I have a very basic question - when I add a view controller as a subview, do I lose all the other instances and information on the parent view controller?
Here is my problem:
I am adding a view controller as a subview and this is performed by pressing a button. When I try to go back to the original view (controller) by removing this second view controller, I am getting an error saying message sent to a deallocated instance.
I am essentially trying to mimic NAV controller but without using those because I want to design where I want to have the back button etc.
|
may b u r releasing "view controller" after ur navigating into an other view...
post ur code,so that we can help u more...