title: Having problems with combined tab bar and navigation bar controllers
body: <p><a href="https://i.stack.imgur.com/TVvVV.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TVvVV.gif" alt="Problem with back button"></a></p>
  
  <p>I am having a problem with the back button not going to the previous view controller despite me using segues (via push). I think there is a problem since I saw this line on Apple's documentation saying </p>
  
  <p>"An app that uses a tab bar controller can also use navigation controllers in one or more tabs. When combining these two types of view controller in the same user interface, the tab bar controller always acts as the wrapper for the navigation controllers." </p>
  
  <p>But I want to be able to use a login screen which then moves onto a couple of screens before getting to a tab bar controller therefore not having the navigation bar wrapped in the tab bar controller. I know many popular apps use this, for example Instagram where you login then it shows the tab bar controller. </p>
  
  <p>My current app layout is this; </p>
  
  <p>Root navigation controller -> login -> meals (gif) -> tab controller (navigation controller for each tab (as per link) -> (My Rota/ My Meals/ Shopping List/ Item) </p>
  
  <p><a href="https://stackoverflow.com/questions/27422054/how-to-implement-tab-bar-controller-with-navigation-controller-in-right-way">How to implement tab bar controller with navigation controller in right way</a> </p>