【发布时间】:2015-12-21 12:08:45
【问题描述】:
我有关于 iOS 内存管理的查询。当我登录到特定的应用程序并进行注册过程时,在第 4 个屏幕之后,我必须跳转到主屏幕。所以我不需要前 4 个屏幕。所以我称之为下面的方法
AppDelegate *appdelegate = [[UIApplication sharedApplication] delegate];
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UINavigationController *root=[storyboard instantiateViewControllerWithIdentifier:@"trend_navigation"];
appdelegate.window.rootViewController = root;
[appdelegate.window makeKeyAndVisible];
我的问题是,以前的屏幕仍然出现在主屏幕的后面还是会释放内存?
【问题讨论】:
标签: ios uistoryboard