change navigation bar title font - swift : <p>I have a title in my navigation bar and a i want to change it to custom font. I've found this line of code, but it's for when you have a navigation controller.</p>

<pre><code>self.navigationController?.navigationBar.titleTextAttributes = [ NSFontAttributeName: UIFont(name: "LeagueGothic-Regular", size: 16.0)!, 
                                                             NSForegroundColorAttributeName: UIColor.whiteColor()]
</code></pre>

<p>But i don't have any navigation controller. I added navigation bar manually to my view. </p>

<p><a href="https://i.stack.imgur.com/RTzau.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RTzau.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/4OPPM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4OPPM.png" alt="enter image description here"></a></p>

<p>how can i change comment font?</p>
