[bt setImage:[UIImage imageNamed:@"image.png"] forState:UIControlStateNormal];
bt.imageView.contentMode = UIViewContentModeScaleAspectFit;
[bt setImage:[UIImage imageNamed:@"image.png"] forState:UIControlStateNormal];
bt.imageView.contentMode = UIViewContentModeScaleAspectFit;
本文标题:【iOS开发】UIButton image不拉伸渲染(Conte
本文链接:https://www.haomeiwen.com/subject/gkmwhqtx.html
网友评论