Skip to content

the method of roundCorners doesn't always work ...  #26

@apiapia

Description

@apiapia

Fetches an image from a URL ...

sometimes the roundCorners can work,but it doesn't ...

cell.portraitUIImageView.imageFromURL(portraitURL, placeholder: image, fadeIn: true) {
(image: UIImage?) in
if image != nil {
cell.portraitUIImageView.image = image?.roundCorners(cornerRadius: CGFloat(image!.size.width/2), border: CGFloat(2.0), color: UIColor.red)
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions