Skip to content

Can not access Imageview due to it's private declaration. #9

@sandeeppresto

Description

@sandeeppresto

Hello Team-

We are trying to do this:

let imageView1 = ZoomImageView(frame: CGRect(x: CGFloat(10), y: CGFloat(50), width: CGFloat(self.view.frame.size.width - 20), height: CGFloat(self.view.frame.size.height - 100)))
imageView1.zoomMode = .fit
imageView1.imageView.sd_setImage(with: URL(string: String(format:"%@",img)), placeholderImage: UIImage(named: "ImageDefault"))

This shows error at line imageView1.imageView.sd_setImage "'imageView' is inaccessible due to 'private' protection level"

Any help will be appreciated!

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