i have the below code
UINavigationController *sample = [[UINavigationController alloc] initWithRootViewController:newcon开发者_运维技巧tact];
does newcontactview get reatined when i do the above?
Yes, all controllers added to navigation controller stack (including root controller) are retained by UINavigationController
精彩评论