宽容他人,放过自己。

布局button中图片与文字位置

Posted on By anchoriteFili

[self.seeMoreButton setImage:[UIImage imageNamed:@"ChooseSKB_down"] forState:UIControlStateNormal];
[self.seeMoreButton setTitle:@"展开" forState:UIControlStateNormal];

[self.seeMoreButton setImageEdgeInsets:UIEdgeInsetsMake(0, -1, 0, 0)];
[self.seeMoreButton setTitleEdgeInsets:UIEdgeInsetsMake(0, 1, 0, 0)];