ZoomImageView
ZoomImageView copied to clipboard
Can not access Imageview due to it's private declaration.
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!