Reputation: 629
i have the below code
UINavigationController *sample = [[UINavigationController alloc] initWithRootViewController:newcontact];
does newcontactview get reatined when i do the above?
Upvotes: 0
Views: 111
Reputation: 170829
Yes, all controllers added to navigation controller stack (including root controller) are retained by UINavigationController
Upvotes: 1