ios 按钮图文上下排布
2019-07-20 本文已影响0人
米开朗骑騾
[self.photoBtn setTitleEdgeInsets:UIEdgeInsetsMake(self.photoBtn.imageView.frame.size.height +10 ,-self.photoBtn.imageView.frame.size.width, 0.0,0.0)];
[self.photoBtn setImageEdgeInsets:UIEdgeInsetsMake(-20, 0.0,0.0, -self.photoBtn.titleLabel.intrinsicContentSize.width)];