title: Can't get UITextField to autoshrink the font
body: <p>In Swift, i have a <strong>UITextField</strong> on a table view cell, and when it's text becomes too long I would like the font size to decrease. I want to make it very clear that I am talking about a UITextField, not a UILabel or a UITextView. The reason I say this is because I have seen this question pop up several times and the answers were all based on UILabel instead of UITextField.</p>
  
  <p>I hoped, that can be done in IB, where i did this settinngs of Min Font Size and ajust to fit, but this didn´t change anything:</p>
  
  <p><a href="https://i.stack.imgur.com/BCqnI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BCqnI.png" alt="enter image description here"></a></p>
  
  <p>Is there another way to resolve this?</p>