swift 添加rootViewController

   let rootV = ViewController()

       let  rootNav  = UINavigationController.init(rootViewController: rootV)

       self.window?.rootViewController=rootNav

posted @ 2017-08-01 15:21  LiziBlog  阅读(1720)  评论(0编辑  收藏  举报