A push B present C push D present E怎么返回A

RT。A,B,C,D,E为五个控制器。A push B present C push D present E怎么返回A

 

1 [[UIApplication sharedApplication].keyWindow.rootViewController dismissViewControllerAnimated:NO completion:^{
2         [((UINavigationController *)[UIApplication sharedApplication].keyWindow.rootViewController) popToRootViewControllerAnimated:NO];
3     }];

 

posted @ 2017-03-30 22:14  Accepted.DXY  阅读(717)  评论(0编辑  收藏  举报