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

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

Open
sandeeppresto opened this issue Oct 17, 2018 · 0 comments
Open

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

sandeeppresto opened this issue Oct 17, 2018 · 0 comments

Comments

@sandeeppresto
Copy link

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!

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