title: Make the navigationbar title clickable swift
body: <p>I would like to make the <code>navigationbar</code> title to be clickable. When user click on it, it should perform a segue. But I have no idea how to do this.</p>
  
  <p>I have tried the following to get the title and apply the Tap gesture to it.</p>
  
  <pre><code>var subviews  = self.navigationController?.navigationBar.subviews
          if let subviews = subviews {
              // Better check for array length before accessing to the 1st element
              var subview = subviews [0]
          }
  </code></pre>
  
  <p>but its giving me error <code>Variable subview inferred to have type AvyObject, which may be unexpected</code></p>