[ad_1]
You need to instantiate imageView before setting the frame.
e.g.
self.imageView = UIImageView(image: UIImage(named: "image"))
[ad_2]
solved Why am I receiving a nil value in this imageview? [closed]
[ad_1]
You need to instantiate imageView before setting the frame.
e.g.
self.imageView = UIImageView(image: UIImage(named: "image"))
[ad_2]
solved Why am I receiving a nil value in this imageview? [closed]