Removing NavigationController Programmatically

前端 未结 2 1448
梦谈多话
梦谈多话 2021-01-07 01:14

the application contains more than one navigation controller. (example below)

NavigationController1 ----> ViewController1 ---> TabBarController -->          


        
2条回答
  •  佛祖请我去吃肉
    2021-01-07 01:37

    May be this can help:

    [self.window addSubview:secondNavigationController.view];
    

    Add the view of second navigation controller in the window.

提交回复
热议问题