UIButton: Padding Between Image and TextMay 6, 2019 Update (11/29/2020): I've updated this post to note that more subtlety is required to account for right-to-left languages. Pop quiz: in a UIButton, how do you set a padding of 10pt between the image and the title? I had to do this at work recently, and I was surprised at how hard it was to reason about. There are several posts talking about this
![UIButton: Padding Between Image and Text](https://cdn-ak-scissors.b.st-hatena.com/image/square/84e824945d6a09b0d64b8716e9d1b1bb4e6d5322/height=288;version=1;width=512/https%3A%2F%2Fnoahgilmore.com%2Fstatic%2Fuibutton-wireframe-7dea25a8845a94817f4900f691c690fb.png)