title: titleView in NavigationItem doesn't consider frame height in iOS 11
body: <p>I've updated to Xcode 9, and I have a <code>titleView</code> in my <code>NavigationItem</code> created in this way:</p>
  
  <pre><code>let logo = UIImageView(frame: CGRect(x: 0, y: 0, width: 70, height: 25))
  logo.image = UIImage.logo
  logo.contentMode = .scaleAspectFit
  self.navigationItem.titleView = logo
  </code></pre>
  
  <p>The result is that it doesn't consider anymore the frame height.</p>