Ios Swift : Adding or Moving NavigationBar to bottom of the view controller
<p>I want to move the navigation controller bar to the bottom of the view controller. How can i get this done ?</p>

<p>I tried :</p>

<pre><code>self.navigationController!.navigationBar.frame = CGRectMake(
        0,
        UIScreen.mainScreen().bounds.height - 50,
        UIScreen.mainScreen().bounds.width,
        50)
</code></pre>

<p>This is moving to the bottom but hiding all other controller objects and also back button is not woking.</p>