btn.contentHorizontalAlignment = UIControlContentHorizontalAlignment.right
btn.contentEdgeInsets = UIEdgeInsetsMake(0,10, 0, 0); //距离边框10个像素