title: Get the default height (or maxY) of a NavigationBar on iOS
body: <p>I would like to know if is there any way for us to obtain the default Navigation Bar <code>height</code> (<code>maxY</code> preferably) of a <code>NavigationController</code>.</p>
  
  <p>Knowing that iOS 11 introduced large titles, is there any way for us then to get the default <code>height</code> (or <code>maxY</code>) of a Navigation Bar with a "small title" and of a Navigation Bar with a "large title"?</p>
  
  <p>The reason I am asking this is because I am making the Navigation Bar's background transparent and introducing my own background to it (which is an Effect View). But the problem I am having is that every time I run the following code</p>
  
  <pre><code>self.navigationController?.navigationBar.frame.maxY
  </code></pre>
  
  <p>it returns a number ways higher than the expected :/</p>
  
  <p><em>I tried to run this piece of code on many callbacks -> <code>onViewWillAppear</code>, <code>onViewDidAppear</code>, <code>onViewDidLoad</code></em></p>