I have an alert view that pops up when the user press the add button. How do i add an image to the alert view?
I added some code that i took reference from stack overfl
Swift 4:
var imageView = UIImageView(frame: CGRect(x: 220, y: 10, width: 40, height: 40)) imageView.image = <#yourImage#> alert.view.addSubview(imageView)