按钮文字居右
btn.contentHorizontalAlignment = UIControlContentHorizontalAlignment.right
btn.contentEdgeInsets = UIEdgeInsetsMake(0,10, 0, 0); //距离边框10个像素
btn.contentHorizontalAlignment = UIControlContentHorizontalAlignment.right
btn.contentEdgeInsets = UIEdgeInsetsMake(0,10, 0, 0); //距离边框10个像素