btn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;//文字靠右
btn.imageEdgeInsets=UIEdgeInsetsMake(7,238, 7, 0);
btn.titleEdgeInsets=UIEdgeInsetsMake(0, 0, 0, 22);
btn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;//文字靠右
btn.imageEdgeInsets=UIEdgeInsetsMake(7,238, 7, 0);
btn.titleEdgeInsets=UIEdgeInsetsMake(0, 0, 0, 22);
本文标题:ios UIButton 设置图片和title坐标无效时
本文链接:https://www.haomeiwen.com/subject/evpbnftx.html
网友评论