title: How to stretch a UIImage to fit text?
body: <p>I am implementing a tag system into my app, and for this to happen I need a background image of the tag and the text to overlay that image. The problem is though - how can I stretch the image to 'fit' the text? 'Maths' works fine, but a word like 'Economics' would not as it would overlap the background image.</p>
  
  <p>This is what my tag looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/YvfFP.png" alt=""></p>