         titleMessageSeparator.hidden = !showTitleMessageSeparator
         topTitleMessageSeparatorConstraint.constant = showTitleMessageSeparator ? 14 : 0
 
-        titleLabel.textColor = tintColor
-        imageView.tintColor = tintColor
+        switch anyTitleObject {
+        case let titleImageView as UIImageView:
+            titleImageView.tintColor = tintColor
+        case let titleLabel as UILabel:
+            titleLabel.textColor = tintColor
+        default:
+            break
+        }
         messageLabel.textColor = tintColor
     }
 

        didSet {
            buttonsView.removeConstraints(buttonsView.constraints)
            for (index, value) in buttons.enumerate() {
                value.setTitleColor(tintColor, forState:.Normal)
                value.setTitleColor(tintColor.colorWithAlphaComponent(0.33), forState:.Highlighted)
                value.setTitleColor(tintColor.colorWithAlphaComponent(0.33), forState:.Selected)

                let top = NSLayoutConstraint(item: value, attribute: .Top, relatedBy: .Equal, toItem: buttonsView, attribute: .Top, multiplier: 1.0, constant: 1)
                let bottom = NSLayoutConstraint(item: value, attribute: .Bottom, relatedBy: .Equal, toItem: buttonsView, attribute: .Bottom, multiplier: 1.0, constant: 0)


public class APMAlertController: UIViewController {
    private let verticalAlertIndent: CGFloat = 25
    private let separatorColor = UIColor(white: 0.75, alpha: 0.6)

    public var showTitleMessageSeparator: Bool = false
    public var tintColor: UIColor = UIColor.blackColor()
