[[UIApplication sharedApplication].keyWindow.rootViewController dismissViewControllerAnimated:NO completion:^{
HomeTabbarVC*homeVC =[[HomeTabbarVC alloc]init];
[UIApplication sharedApplication].keyWindow.rootViewController=homeVC;
}];
[[UIApplication sharedApplication].keyWindow.rootViewController dismissViewControllerAnimated:NO completion:^{
HomeTabbarVC*homeVC =[[HomeTabbarVC alloc]init];
[UIApplication sharedApplication].keyWindow.rootViewController=homeVC;
}];
本文标题:ios UIWindow 根视图无法注销
本文链接:https://www.haomeiwen.com/subject/nizoixtx.html
网友评论