Btn.titleLabel.textAlignment = UITextAlignmentLeft
//这句话只能对lable管用,真正可以让button文字靠左的如下
Btn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
Btn.titleLabel.textAlignment = UITextAlignmentLeft
//这句话只能对lable管用,真正可以让button文字靠左的如下
Btn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;