title: Resolution for SVG to PNG image for UIButton iOS
body: <p>I have a UIButton in my Swift/iOS app with width of 20 and height of 20 with an image inside. </p>
  
  <p>I have an SVG icon that I'd like to use for the image in the UIButton. When I convert this SVG into a PNG, what resolution should the 1x, 2x, and 3x be?</p>
  
  <p>Right now I'm creating a 30x30, 60x60 and 90x90 PNG files but it is mostly guesswork.</p>
  
  <p>Should I instead use, say, 100x100, 200x200 and 300x300 PNG files?</p>
  
  <p>Would these larger resolutions look better, but perhaps they take more time to load? </p>
  
  <p>Also, in the UIButton, what is the correct content mode to set? Scale to fill or aspect fill?</p>