Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

圆形图片没有效果 #44

Open
shenshangjimiaoZG opened this issue Mar 31, 2020 · 2 comments
Open

圆形图片没有效果 #44

shenshangjimiaoZG opened this issue Mar 31, 2020 · 2 comments

Comments

@shenshangjimiaoZG
Copy link

在xcode11.4 ios13.4 圆形效果没有显示出来。[self.productImg zy_cornerRadiusAdvance:26 rectCornerType:UIRectCornerAllCorners];

[self.productImg mas_makeConstraints:^(MASConstraintMaker *make) {

    make.left.equalTo(self.bgImg.mas_left).offset(15);
    make.bottom.equalTo(self.lblDesc.mas_top).offset(-2);
    make.size.mas_equalTo(CGSizeMake(52, 52));
    
}]
@shenshangjimiaoZG
Copy link
Author

发现只要是在xib拖一个image,就显示不出来,只要是纯代码写uiimageview才显示圆角。

@shenshangjimiaoZG
Copy link
Author

大佬,在xcode11.4,ios13.4 发现只要是在xib拖一个image,就显示不出来,只要是纯代码写uiimageview才显示圆角。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant