작동하지 않습니다 이 코드를 사용했습니다 :스위프트 이미지에 CornerRadius를 내가 이미지가 내 tableviews 사용자 정의 셀에서
cell.offerImage.layer.cornerRadius = 20
cell.offerImage.clipsToBounds = true
그리고 Imageviews 콘텐츠 모드는 가로 세로 맞춤입니다. 내가 예상대로 내가하지 라운드를 몇 가지 이상한 CornerRadius를 가지고
cell.offerImage.layer.cornerRadius = cell.offerImage.frame.size.width/2
: 나는 그것으로 주위를 재생하려고하기 때문에, 내가 사용 때, 재미이다. 그것은 cornerRadius가 imageView가 아니라 이미지이고, 이미지의 정확한 크기 (서버에서 업로드 됨)를 알지 못합니다.