iOS 替换当前ViewController

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_28379951/article/details/51740604


   UIViewController *vc = [[UIViewControlleralloc] init];
    [selfaddChildViewController:vc];
    [self.viewaddSubview:vc.view];
    [vc didMoveToParentViewController:self];

阅读更多

没有更多推荐了,返回首页