_manPhotoImageView.layer.masksToBounds = YES;
[_manPhotoImageView.layer setCornerRadius:CGRectGetHeight([_manPhotoImageView bounds])/2];
本文探讨了如何通过设置UIImageView层的紧致矩形、边角半径来优化图片显示效果,同时实现边缘隐藏,提升用户体验。
_manPhotoImageView.layer.masksToBounds = YES;
[_manPhotoImageView.layer setCornerRadius:CGRectGetHeight([_manPhotoImageView bounds])/2];
1648

被折叠的 条评论
为什么被折叠?