ZoomImageView icon indicating copy to clipboard operation
ZoomImageView copied to clipboard

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

Open sandeeppresto opened this issue 6 years ago • 0 comments

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!

sandeeppresto avatar Oct 17 '18 09:10 sandeeppresto