title: Tabbar middle button utility function in SwiftUI
body: <p>I'm trying to reproduce a "Instagram" like <code>tabBar</code> which has a "Utility" button in the middle which doesn't necessarily belong to the <code>tabBar</code> eco system. </p>
  
  <p>I have attached this gif to show the behaviour I am after. To describe the issue. The tab bar in the middle (Black plus) is click a ActionSheet is presented INSTEAD of switching the view.</p>
  
  <p><a href="https://i.stack.imgur.com/2ubSG.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ubSG.gif" alt="enter image description here"></a></p>
  
  <p>How I would do this in UIKit is simply use the </p>
  
  <pre><code>override func tabBar(tabBar: UITabBar, didSelectItem item: UITabBarItem) {
      print("Selected item")
  }
  </code></pre>
  
  <p>Function from the <code>UITabBarDelegate</code>. But obviously we can't do this in SwiftUI so was looking to see if there was any ideas people have tried. My last thought would be to simply wrap it in a UIView and use it with SwiftUI but would like to avoid this and keep it native. </p>
  
  <p>I have seen a write up in a custom TabBar but would like to use the TabBar provided by Apple to avoid any future discrepancies.</p>
  
  <p>Thanks! </p>
  
  <p>Edit: Make the question clearer.</p>