Unfortunately Apple does not allow us to add images to UIAlertController
or UIAlertView
. These APIs are limited to Apple's Human Interface Guidelines.
If you really need an image in a UIAlertController
-like dialog, I would recommend trying to use something like https://github.com/wimagguc/ios-custom-alertview.