我想使用自定义导航一次处理多个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)