     addSubview(label)
     
     backView.frame = CGRect(x: 0, y: 0, width: frame.width, height: frame.height)
-    backView.backgroundColor = UIColor.black
-    backView.alpha = 1
+    backView.backgroundColor = backColor
+//    backView.alpha = 1
     backView.layer.cornerRadius = 15
     backView.layer.masksToBounds = true
     

  }
  
  private func buildMiddleView() {
    backView.backgroundColor = UIColor.black
    backView.alpha = 1
    backView.layer.cornerRadius = 15
    
    imageView.removeFromSuperview()


public class HUD: UIView {
  let labelFont: CGFloat = 15
  let backColor: UIColor = #colorLiteral(red: 0, green: 0, blue: 0, alpha: 1)
  
  static let sharedView = HUD()
  
