title: iOS 11 uiBarButtonitems shrunk in size
body: <p>I have an app and it works fine on iOS 10 but on iOS 11 the UIBarButtonItems icons shrunk in size. (they are bar button custom item with an image).
  I have tried to put them constraints but it didn't work. Any idea?</p>
  
  <p>Thanks in advance<img src="https://i.stack.imgur.com/S6Be1.png" alt="![enter image description here">]<a href="https://i.stack.imgur.com/S6Be1.png" rel="nofollow noreferrer">1</a></p>
  
  <p><a href="https://i.stack.imgur.com/uvObP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uvObP.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/pv8jC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pv8jC.png" alt="enter image description here"></a></p>