Skip to Content
0
Former Member
Oct 16, 2006 at 09:23 PM

IC WebClient - Lifetime of a view controller

20 Views

Hi,

The cookbook states:

<i>When the user navigates to a new view and the previous view is no longer visible, both the controller and the view are destroyed (removed from memory).</i>

Hence, I thought the method 'Constructor' of the class will be called every time the user navigates back to that view, but it does not seem the case. This method is called only first time the view is accessed.

If the controller class is destroyed wouldn't the Constructor need to be called every time to re-create the object ?

Am I missing out something ?

Mihai