title: How to overlap navigation bar by adding view in swift?
body: <p>I want to make a custom side bar by adding a new view to the view controller, the side bar will be in the yellow color background. I want my side bar also to overlap the navigation bar/item (green background color) in my view controller. but the navigation bar/item seems can't be overlapped by my side bar view, it seems only overlap the main view. </p>
  
  <p>I tried to find the answer in stackoverflow, I find this <a href="https://stackoverflow.com/questions/14115240/overlap-navigation-bar-on-ios-6-with-other-view">Overlap navigation bar on ios 6 with other view</a>, but the answer is on the Objective-C, I can't read Objective-C :(</p>
  
  <p>What should I do to overlap navigation bar/item ? here is the screenshot of my view controller</p>
  
  <p><a href="https://i.stack.imgur.com/TAaKF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TAaKF.png" alt="enter image description here"></a></p>
  
  <p>I embed the navigation controller like this
  <a href="https://i.stack.imgur.com/WCJib.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WCJib.png" alt="enter image description here"></a></p>