开发者

uinavigationcontroller question

开发者 https://www.devze.com 2023-02-28 15:28 出处:网络
i have the below code UINavigationController *sample = [[UINavigationController alloc] initWithRootViewController:newcon开发者_运维技巧tact];

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

0

精彩评论

暂无评论...
验证码 换一张
取 消