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 }];
时间: 2024-08-06 21:58:09