title: Popup From a Tabbar (Like Yelp App)
body: <p>I am pretty much trying to replicate the same tabBar popup as you see in the yelp app (before and after screenshots at the bottom) where no matter what view your in you can press on the center tabBar item and pop up will appear. </p>
  
  <p>Coincidentally I have 5 tabBar items (like Yelp) and <strong>I am trying to have three popups with a image and title for each (like Yelp)</strong>. Seeing that what I am trying to do is already done in an app shows me that this is possible, but I do not know how to do it. I have tried to change the types of relationships between view controllers or do it programmatically, but nothing seems to work. <strong>What am I missing or doing wrong?</strong></p>
  
  <p>Tabbar Controller Code:</p>
  
  <pre><code>func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -&gt; Bool {
      if viewController.tabBarItem.tag == 1 {
          return false
      } else {
          return true
      }
  }
  </code></pre>
  
  <p><strong>Before Press</strong></p>
  
  <p><img src="https://i.stack.imgur.com/9SF6b.jpg" alt="Before Press"></p>
  
  <p><strong>After Press</strong></p>
  
  <p><img src="https://i.stack.imgur.com/6xOZu.jpg" alt="After Press"></p>