Rajashekar
Rajashekar

Reputation: 629

uinavigationcontroller question

i have the below code

UINavigationController *sample = [[UINavigationController alloc] initWithRootViewController:newcontact];

does newcontactview get reatined when i do the above?

Upvotes: 0

Views: 111

Answers (1)

Vladimir
Vladimir

Reputation: 170829

Yes, all controllers added to navigation controller stack (including root controller) are retained by UINavigationController

Upvotes: 1

Related Questions