Set the **`contentHorizontalAlignment`**:
button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
alternatively you can adjust **`contentEdgeInsets`** like this,
button.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0); //Whatever you want
Try it out and let me know in case of any queries.
Set the contentHorizontalAlignment:
emailBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
You might also want to adjust the content left inset otherwise the text will touch the left border:
emailBtn.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);