UIButton调整title和image之间的距离及图片在右边

传送门:http://stackoverflow.com/questions/4564621/aligning-text-and-image-on-uibutton-with-imageedgeinsets-and-titleedgeinsets

可以这么搞:

如果想要文本左图片右,可以继续这么搞:

 

Leave a Reply

Your email address will not be published.