button1.titleEdgeInsets=UIEdgeInsetsMake(0, 5, 0, 5);
where button1 is a UIButton. The default values is
The other thing to know is that the order for the values is TOP LEFT BOTTOM RIGHT.
This is opposite of the way we do it in CSS.
Also look out for the following other UIButton properties which accomplish similar padding tasks:
And there's that.