首页 > 代码库 > A push B present C push D present E怎么返回A

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     }];

 

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