title: UIButton with text on left and image on right swift
body: <p>I want to put an image on the right side of the button and the text on the left side. But I want the text to be 20 points from the left margin of the button and the image to be 20 points from the right margin. How would I do that? I want to use the native image and label within a UIButton, I don't want to put anything on top of the button. Here is an example: 
  <a href="https://i.stack.imgur.com/z9ASs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/z9ASs.png" alt="enter image description here"></a></p>