//使图片在右边,文字在左边(正常情况下是文字在右边,图片在左边)
[_leftAllBtn setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft];
//设置图片和文字之间的间隙
_leftAllBtn.imageEdgeInsets = UIEdgeInsetsMake(0, 5, 0, 0);
//使图片在右边,文字在左边(正常情况下是文字在右边,图片在左边)
[_leftAllBtn setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft];
//设置图片和文字之间的间隙
_leftAllBtn.imageEdgeInsets = UIEdgeInsetsMake(0, 5, 0, 0);