You can add a UIImageView as a subtitle to the UIAlertController .
var imageView = UIImageView(frame: CGRectMake(220, 10, 40, 40)) imageView.image = yourImage alert.view.addSubview(imageView)
Here is how you do it in UIAlertController :
let alertMessage = UIAlertController(title: "My Title", message: "My Message", preferredStyle: .Alert) let image = UIImage(named: "myImage") var action = UIAlertAction(title: "OK", style: .Default, handler: nil) action.setValue(image, forKey: "image") alertMessage .addAction(action) self.presentViewController(alertMessage, animated: true, completion: nil)
source share