title: How to change Nav Bar Controller Color for every VC based on user choice?
body: <p>In my app delegate I call the following code to set the color of the nav bar for every VC to be a blue. However, if the user does not log in and is just taking the app for a spin I want the Nav Bars to be a red.</p>
  
  <pre><code>UINavigationBar.appearance().barTintColor = UIColor(red: 108.0/255.0, green: 158.0/255.0, blue: 236.0/255.0, alpha: 1.0) // Blue
  
  //    UINavigationBar.appearance().barTintColor = UIColor(red: 239.0/255.0, green: 119.0/255.0, blue: 97.0/255.0, alpha: 1.0) // Red
  
  UINavigationBar.appearance().tintColor = .white
  UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName : UIColor.white]
  </code></pre>
  
  <p>How would I go about changing the color based on a users choice for every VC?</p>