热门搜索 :
考研考公
您的当前位置:首页正文

ios 拿到modal出的导航控制器进行push

来源:东饰资讯网
TestViewController *test = [[TestViewController alloc] init];
    UIViewController *root = [UIApplication sharedApplication].keyWindow.rootViewController;
    UINavigationController *nav = (UINavigationController *)root.presentedViewController;
    [nav pushViewController:test animated:YES];
Top