         contentView.translatesAutoresizingMaskIntoConstraints = false
         topScrollView.addSubview(contentView)
 
-        anyTitleView.translatesAutoresizingMaskIntoConstraints = false
-        switch anyTitleView {
-        case let titleImageView as UIImageView:
-            titleImageView.contentMode = .scaleAspectFit
-            titleImageView.image = disableImageIconTemplate ? alertTitleImage : alertTitleImage?.withRenderingMode(.alwaysTemplate)
-            titleImageView.alpha = 0.8
-        case let titleLabel as UILabel:
-            titleLabel.font = UIFont.boldSystemFont(ofSize: 16)
-            titleLabel.textAlignment = .center
-            titleLabel.numberOfLines = 0
-            titleLabel.text = alertTitle
-        default:
-            break
-        }
         contentView.addSubview(anyTitleView)
 
         titleMessageSeparator.translatesAutoresizingMaskIntoConstraints = false

        fatalError("NSCoding not supported")
    }

    init(titleObject: UIView) {
        self.anyTitleView = titleObject
        super.init(nibName: nil, bundle: nil)

        self.modalPresentationStyle = UIModalPresentationStyle.custom

            self.messageLabel = messageLabel
        }
    }

    func configureView() {
        alertView.translatesAutoresizingMaskIntoConstraints = false
