Starting with iOS 8.0, you can use the UIAlertController . In the UIAlertController each button element is known as a UIAlertAction , which is appended accordingly. UIAlertAction contains a UIAlertAction property called an image, which you can set to suit your needs.
UIAlertActioin *action1 = [UIAlertAction actionWithTitle:@"1" style: UIAlertActionStyleDefault handler:(void (^)(UIAlertAction *action)) { [action setValue:[UIImage imageNamed:@"your-image-name"] forKey:@"_image"]; }];
source share