如何使用自定义导航来处理多个ViewController?

时间:2019-05-25 07:18:24

标签: ios swift navigation

我想使用自定义导航一次处理多个ViewControllers。我将如何实现这一目标?

以下是我到目前为止的内容:

 let naviagationController = UINavigationController(rootViewController: vc)
 vc.navigationController?.navigationBar.barTintColor = UIColor.init(red: 25/255.0, green: 81/255.0, blue: 134/255.0, alpha: 1)
 vc.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor: UIColor.white]
 self.present(naviagationController, animated: true, completion: nil)

0 个答案:

没有答案
相关问题