Answers for "how to text align button title xcode"

0

how to text align button title xcode

emailBtn.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);

// Swift 3 and up:
emailBtn.contentEdgeInsets = UIEdgeInsets(top: 0, left: 10, bottom: 0, right: 0);
Posted by: Guest on April-29-2020
0

how to text align button title xcode

emailBtn.contentHorizontalAlignment = .left;
Posted by: Guest on April-29-2020

Browse Popular Code Answers by Language